Enum jomini::binary::ReaderErrorKind
source · pub enum ReaderErrorKind {
Read(Error),
BufferFull,
Lexer(LexError),
}
Expand description
The specific binary reader error type.
Variants§
Read(Error)
An underlying error from a Reader
BufferFull
The internal buffer does not have enough room to store data for the next token
Lexer(LexError)
The data is corrupted
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReaderErrorKind
impl !RefUnwindSafe for ReaderErrorKind
impl Send for ReaderErrorKind
impl Sync for ReaderErrorKind
impl Unpin for ReaderErrorKind
impl !UnwindSafe for ReaderErrorKind
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