Struct uefi::Completion
source[−]pub struct Completion<T> { /* private fields */ }
Expand description
This type is used when an UEFI operation has completed, but some non-fatal problems (UEFI warnings) may have been encountered along the way
Implementations
Build a completion from a non-error status and a function result
Assume that no warning occured, panic with provided message if not
Transform the inner value without unwrapping the Completion
Merge this completion with a success or warning status
Since this type only has storage for one warning, if two warnings must be stored, one of them will be spilled into the logs.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for Completion<T> where
T: RefUnwindSafe,
impl<T> Send for Completion<T> where
T: Send,
impl<T> Sync for Completion<T> where
T: Sync,
impl<T> Unpin for Completion<T> where
T: Unpin,
impl<T> UnwindSafe for Completion<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more