pub enum NvramSetupError {
BadNvramStorage(NvramStorageError),
InjectPreBootVar(Cow<'static, Ucs2LeSlice>, EfiStatus, Option<NvramError>),
InjectSigVar(Cow<'static, Ucs2LeSlice>, EfiStatus, Option<NvramError>),
InjectCustomVar(String, EfiStatus, Option<NvramError>),
CustomVarNotUcs2,
}
Variants§
BadNvramStorage(NvramStorageError)
InjectPreBootVar(Cow<'static, Ucs2LeSlice>, EfiStatus, Option<NvramError>)
InjectSigVar(Cow<'static, Ucs2LeSlice>, EfiStatus, Option<NvramError>)
InjectCustomVar(String, EfiStatus, Option<NvramError>)
CustomVarNotUcs2
Trait Implementations§
Source§impl Debug for NvramSetupError
impl Debug for NvramSetupError
Source§impl Display for NvramSetupError
impl Display for NvramSetupError
Source§impl Error for NvramSetupError
impl Error for NvramSetupError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<NvramSetupError> for UefiInitError
impl From<NvramSetupError> for UefiInitError
Source§fn from(source: NvramSetupError) -> Self
fn from(source: NvramSetupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NvramSetupError
impl !RefUnwindSafe for NvramSetupError
impl Send for NvramSetupError
impl Sync for NvramSetupError
impl Unpin for NvramSetupError
impl !UnwindSafe for NvramSetupError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more