pub enum ZbiError {
Error,
BadType,
BadMagic,
BadVersion,
BadCrc,
BadAlignment,
Truncated,
TooBig,
IncompleteKernel,
PlatformBadLength,
Crc32NotSupported,
LengthOverflow,
}Expand description
Error values that can be returned by function in this library
Variants§
Error
Generic error
BadType
Bad type
BadMagic
Bad magic
BadVersion
Bad version
BadCrc
Bad CRC
BadAlignment
Bad Alignment
Truncated
Truncaded error
TooBig
Too big
IncompleteKernel
Incomplete Kernel
PlatformBadLength
Bad ZBI length for this platform
Crc32NotSupported
CRC32 is not supported yet
LengthOverflow
Length type overflow
Trait Implementations§
impl Eq for ZbiError
impl StructuralPartialEq for ZbiError
Auto Trait Implementations§
impl Freeze for ZbiError
impl RefUnwindSafe for ZbiError
impl Send for ZbiError
impl Sync for ZbiError
impl Unpin for ZbiError
impl UnsafeUnpin for ZbiError
impl UnwindSafe for ZbiError
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