Enum fuchsia_zbi::ZbiParserError
source · pub enum ZbiParserError {
Show 14 variants
FailedToReadPayload {
size: usize,
offset: u32,
status: Status,
},
FailedToZeroMemory {
size: usize,
offset: u32,
status: Status,
},
FailedToParseHeader,
InvalidHeaderMagic {
actual: u32,
},
InvalidContainerHeaderType {
zbi_type: ZbiType,
},
InvalidContainerHeaderExtraMagic {
actual: u32,
},
MissingZbiVersionFlag {
flags: u32,
},
BadCRC32,
ItemNotFound {
zbi_type: ZbiType,
},
ItemNotStored {
zbi_type: ZbiType,
},
ItemWithExtraNotFound {
zbi_type: ZbiType,
extra: u32,
},
FailedToDecommitPages {
status: Status,
},
Overflow,
Unknown,
}
Variants§
FailedToReadPayload
FailedToZeroMemory
FailedToParseHeader
InvalidHeaderMagic
InvalidContainerHeaderType
InvalidContainerHeaderExtraMagic
MissingZbiVersionFlag
BadCRC32
ItemNotFound
ItemNotStored
ItemWithExtraNotFound
FailedToDecommitPages
Overflow
Unknown
Trait Implementations§
source§impl Debug for ZbiParserError
impl Debug for ZbiParserError
source§impl Display for ZbiParserError
impl Display for ZbiParserError
source§impl Error for ZbiParserError
impl Error for ZbiParserError
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()
source§impl PartialEq for ZbiParserError
impl PartialEq for ZbiParserError
source§fn eq(&self, other: &ZbiParserError) -> bool
fn eq(&self, other: &ZbiParserError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZbiParserError
impl StructuralPartialEq for ZbiParserError
Auto Trait Implementations§
impl Freeze for ZbiParserError
impl RefUnwindSafe for ZbiParserError
impl Send for ZbiParserError
impl Sync for ZbiParserError
impl Unpin for ZbiParserError
impl UnwindSafe for ZbiParserError
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