Searched refs:EfiError (Results 1 – 4 of 4) sorted by relevance
19 use crate::{efi_call, map_efi_err, EfiError, EfiResult};64 impl From<core::fmt::Error> for EfiError { implementation65 fn from(_: core::fmt::Error) -> EfiError { in from() argument
19 use crate::{EfiEntry, EfiError, EfiResult};54 .ok_or_else::<EfiError, _>(|| EFI_STATUS_NOT_FOUND.into())?; in convert_device_path_to_text()
19 use efi::EfiError;53 EfiError(EfiError),
88 pub struct EfiError(ErrorTypes); struct90 impl EfiError { impl101 impl From<EfiStatus> for EfiError { implementation102 fn from(efi_status: EfiStatus) -> EfiError { in from() argument103 EfiError(match efi_status { in from()118 pub type EfiResult<T> = core::result::Result<T, EfiError>;192 .ok_or_else::<EfiError, _>(|| EFI_STATUS_BUFFER_TOO_SMALL.into())?; in exit_boot_services()360 .ok_or::<EfiError>(EFI_STATUS_NOT_FOUND.into())?; in find_first_and_open()