pub enum ParseError<IOError> {
InvalidTokenByte(u8),
InvalidStringTableIndex,
InvalidLength,
UnexpectedKeywordToken,
UnexpectedConstructorEnd,
UnexpectedEndOfFile,
InvalidStringPool(DecodeError),
IOError(IOError),
Utf8Error(Utf8Error),
}
Expand description
ESExpr
binary format parse error.
Variants§
InvalidTokenByte(u8)
Invalid token byte.
InvalidStringTableIndex
Invalid string table index.
InvalidLength
Invalid length.
UnexpectedKeywordToken
Unexpected keyword token.
UnexpectedConstructorEnd
Unexpected constructor end.
UnexpectedEndOfFile
Unexpected end of file.
InvalidStringPool(DecodeError)
Invalid string pool.
IOError(IOError)
IO error.
Utf8Error(Utf8Error)
Utf8 error.
Trait Implementations§
Source§impl<IOError: Debug> Debug for ParseError<IOError>
impl<IOError: Debug> Debug for ParseError<IOError>
Source§impl<IOError> From<FromUtf8Error> for ParseError<IOError>
impl<IOError> From<FromUtf8Error> for ParseError<IOError>
Source§fn from(value: FromUtf8Error) -> Self
fn from(value: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<IOError> Freeze for ParseError<IOError>where
IOError: Freeze,
impl<IOError> RefUnwindSafe for ParseError<IOError>where
IOError: RefUnwindSafe,
impl<IOError> Send for ParseError<IOError>where
IOError: Send,
impl<IOError> Sync for ParseError<IOError>where
IOError: Sync,
impl<IOError> Unpin for ParseError<IOError>where
IOError: Unpin,
impl<IOError> UnwindSafe for ParseError<IOError>where
IOError: UnwindSafe,
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