Type Definition uefi::Result

source · []
pub type Result<Output = (), ErrData = ()> = Result<Completion<Output>, Error<ErrData>>;
Expand description

Return type of most UEFI functions. Both success and error payloads are optional.

Trait Implementations

Performs the conversion.

Extract the UEFI status from this result

Ignore warnings, keeping a trace of them in the logs

Expect success without warnings, panic otherwise

Expect success without warnings, panic with provided message otherwise

Expect error, panic with provided message otherwise, discarding output

Transform the inner output, if any

Transform the ErrData value to ()

Treat warnings as errors