pub enum InvalidEntryPointError {
NotFound,
TooOldVersion(u8),
BadSize(u8),
BadChecksum(u8),
}Expand description
Failure type for trying to find the SMBIOS EntryPoint structure in memory.
Variants§
NotFound
The SMBIOS EntryPoint structure was not found in the memory buffer.
TooOldVersion(u8)
The SMBIOS EntryPoint structure was versioned before 2.0.
BadSize(u8)
The SMBIOS EntryPoint structure was smaller than the size of the SMBIOS 2.1 structure.
BadChecksum(u8)
The SMBIOS EntryPoint structure had an invalid checksum.
Trait Implementations§
source§impl Debug for InvalidEntryPointError
impl Debug for InvalidEntryPointError
source§impl Display for InvalidEntryPointError
impl Display for InvalidEntryPointError
source§impl Fail for InvalidEntryPointError
impl Fail for InvalidEntryPointError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§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 moreAuto Trait Implementations§
impl RefUnwindSafe for InvalidEntryPointError
impl Send for InvalidEntryPointError
impl Sync for InvalidEntryPointError
impl Unpin for InvalidEntryPointError
impl UnwindSafe for InvalidEntryPointError
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