#[non_exhaustive]pub enum PtDecoderError {
Eof,
IncoherentState,
IncoherentImage,
InvalidArgument,
InvalidPacketSequence {
packets: Vec<PtPacket>,
},
MalformedInstruction,
MalformedPacket,
MalformedPsbPlus,
MissingImage {
address: u64,
},
SyncFailed,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Eof
IncoherentState
IncoherentImage
InvalidArgument
InvalidPacketSequence
MalformedInstruction
MalformedPacket
MalformedPsbPlus
MissingImage
SyncFailed
Trait Implementations§
Source§impl Debug for PtDecoderError
impl Debug for PtDecoderError
Source§impl PartialEq for PtDecoderError
impl PartialEq for PtDecoderError
impl StructuralPartialEq for PtDecoderError
Auto Trait Implementations§
impl Freeze for PtDecoderError
impl RefUnwindSafe for PtDecoderError
impl Send for PtDecoderError
impl Sync for PtDecoderError
impl Unpin for PtDecoderError
impl UnwindSafe for PtDecoderError
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