Enum chisel_decoders::common::DecoderErrorCode
source · pub enum DecoderErrorCode {
StreamFailure,
InvalidByteSequence,
EndOfInput,
}
Expand description
Enumeration of different decoder errors
Variants§
StreamFailure
Something went pear-shaped in the underlying stream
InvalidByteSequence
Detected an invalid byte sequence
EndOfInput
The end of the input has been reached
Trait Implementations§
source§impl Clone for DecoderErrorCode
impl Clone for DecoderErrorCode
source§fn clone(&self) -> DecoderErrorCode
fn clone(&self) -> DecoderErrorCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecoderErrorCode
impl Debug for DecoderErrorCode
impl Copy for DecoderErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for DecoderErrorCode
impl Send for DecoderErrorCode
impl Sync for DecoderErrorCode
impl Unpin for DecoderErrorCode
impl UnwindSafe for DecoderErrorCode
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