Enum efibootnext::error::GetLoadOptionError
source · pub enum GetLoadOptionError {
Efivar(Error),
LoadOptionDecoding(DecodeError),
}
Expand description
An error that can occur when reading load option.
Variants§
Efivar(Error)
Something went wrong at efivar
level.
LoadOptionDecoding(DecodeError)
The LoadOption
decoding has failed.
Trait Implementations§
source§impl Debug for GetLoadOptionError
impl Debug for GetLoadOptionError
source§impl Display for GetLoadOptionError
impl Display for GetLoadOptionError
source§impl Error for GetLoadOptionError
impl Error for GetLoadOptionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for GetLoadOptionError
impl Send for GetLoadOptionError
impl Sync for GetLoadOptionError
impl Unpin for GetLoadOptionError
impl !UnwindSafe for GetLoadOptionError
Blanket Implementations§
§impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere T: Fail,
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
§impl<E> Fail for Ewhere
E: Error + Send + Sync + 'static,
impl<E> Fail for Ewhere E: Error + Send + Sync + 'static,
§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more