pub enum NvramError {
Show 14 variants
NvramStorage(NvramStorageError),
NameNull,
DataNull,
NameValidation(Ucs2ParseError),
NameEmpty,
AttributeNonSpec,
InvalidRuntimeAccess,
UnsupportedHardwareErrorRecord,
UnsupportedEnhancedAuthAccess,
UnsupportedVolatile,
AttributeMismatch,
AuthError(AuthError),
UpdateSetupMode(NvramStorageError),
SignatureList(ParseError),
}
Variants§
NvramStorage(NvramStorageError)
NameNull
DataNull
NameValidation(Ucs2ParseError)
NameEmpty
AttributeNonSpec
InvalidRuntimeAccess
UnsupportedHardwareErrorRecord
UnsupportedEnhancedAuthAccess
UnsupportedVolatile
AttributeMismatch
AuthError(AuthError)
UpdateSetupMode(NvramStorageError)
SignatureList(ParseError)
Trait Implementations§
Source§impl Debug for NvramError
impl Debug for NvramError
Source§impl Display for NvramError
impl Display for NvramError
Source§impl Error for NvramError
impl Error for NvramError
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<AuthError> for NvramError
impl From<AuthError> for NvramError
Source§impl From<NvramError> for UefiInitError
impl From<NvramError> for UefiInitError
Source§fn from(source: NvramError) -> Self
fn from(source: NvramError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for NvramError
impl From<ParseError> for NvramError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<Ucs2ParseError> for NvramError
impl From<Ucs2ParseError> for NvramError
Source§fn from(source: Ucs2ParseError) -> Self
fn from(source: Ucs2ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NvramError
impl !RefUnwindSafe for NvramError
impl Send for NvramError
impl Sync for NvramError
impl Unpin for NvramError
impl !UnwindSafe for NvramError
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