[−][src]Type Definition uefi::Result
type Result<Output = (), ErrData = ()> = Result<Completion<Output>, Error<ErrData>>;
Return type of most UEFI functions. Both success and error payloads are optional.
Trait Implementations
impl<Output, ErrData: Debug> ResultExt<Output, ErrData> for Result<Output, ErrData>
[src]
fn status(&self) -> Status
[src]
fn log_warning(self) -> Result<Output, Error<ErrData>>
[src]
fn unwrap_success(self) -> Output
[src]
fn expect_success(self, msg: &str) -> Output
[src]
fn expect_error(self, msg: &str) -> Error<ErrData>
[src]
fn map_inner<Mapped>(
self,
f: impl FnOnce(Output) -> Mapped
) -> Result<Mapped, ErrData>
[src]
self,
f: impl FnOnce(Output) -> Mapped
) -> Result<Mapped, ErrData>
fn discard_errdata(self) -> Result<Output>
[src]
fn warning_as_error(self) -> Result<Output, Error<ErrData>> where
ErrData: Default,
[src]
ErrData: Default,