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 Error for InvalidEntryPointError
Available on crate feature std only.
impl Error for InvalidEntryPointError
Available on crate feature
std only.1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for InvalidEntryPointError
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