Enum serde_fressian::error::ErrorCode
source · pub enum ErrorCode {
Show 21 variants
Eof,
Io(Error),
Message(String),
UnsupportedType,
UnsupportedTAType,
UnsupportedCacheType,
IntTooLargeFori64,
UnmatchedCode(u8),
Expectedi64,
ExpectedNonZeroReadLength,
ExpectedDoubleCode,
ExpectedFloatCode,
ExpectedBooleanCode,
ExpectedChunkBytesConclusion,
ExpectedBytesCode,
ExpectedStringCode,
MapExpectedListCode,
ExpectedListCode,
InvalidUTF8,
UnexpectedEof,
AttemptToReadPastEnd,
}
Variants
Eof
Io(Error)
Message(String)
UnsupportedType
UnsupportedTAType
UnsupportedCacheType
IntTooLargeFori64
UnmatchedCode(u8)
Expectedi64
ExpectedNonZeroReadLength
ExpectedDoubleCode
ExpectedFloatCode
ExpectedBooleanCode
ExpectedChunkBytesConclusion
ExpectedBytesCode
ExpectedStringCode
MapExpectedListCode
ExpectedListCode
InvalidUTF8
UnexpectedEof
AttemptToReadPastEnd
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl !UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more