pub enum BootError {
Io,
InvalidValidationChecksum,
InvalidValidationHeader,
InvalidValidationKey,
InvalidDefaultEntry,
ExpectedSectionHeader(u8),
UnexpectedEndOfCatalog,
}Available on crate feature
sync only.Expand description
Errors that can occur during boot catalog operations
Variants§
Io
I/O error occurred
InvalidValidationChecksum
Validation entry checksum is invalid
InvalidValidationHeader
Validation entry header ID is invalid (expected 0x01)
InvalidValidationKey
Validation entry key bytes are invalid (expected 0x55, 0xAA)
InvalidDefaultEntry
Default boot entry is not marked as bootable
ExpectedSectionHeader(u8)
Expected a section header but got something else
UnexpectedEndOfCatalog
Boot catalog ended unexpectedly (more sections expected)
Trait Implementations§
impl Copy for BootError
impl Eq for BootError
Source§impl Error for BootError
Available on crate feature std only.
impl Error for BootError
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()
impl StructuralPartialEq for BootError
Auto Trait Implementations§
impl Freeze for BootError
impl RefUnwindSafe for BootError
impl Send for BootError
impl Sync for BootError
impl Unpin for BootError
impl UnsafeUnpin for BootError
impl UnwindSafe for BootError
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