Enum teehistorian::ErrorKind
source · pub enum ErrorKind {
NotTeehistorian(Option<Uuid>),
NomErrorKind(ErrorKind),
IncompleteHeader,
NonZeroIntPadding,
OverlongIntEncoding,
NegativeBufLen(i32),
UnknownTag(i32),
TrailingBytes(&'static str, u32),
}
Variants§
NotTeehistorian(Option<Uuid>)
NomErrorKind(ErrorKind)
IncompleteHeader
NonZeroIntPadding
OverlongIntEncoding
NegativeBufLen(i32)
UnknownTag(i32)
TrailingBytes(&'static str, u32)
Trait Implementations§
source§impl<I> ParseError<I> for ErrorKind
impl<I> ParseError<I> for ErrorKind
source§fn append(_input: I, _kind: NomErrorKind, other: Self) -> Self
fn append(_input: I, _kind: NomErrorKind, other: Self) -> Self
combines an existing error with a new one created from the input position and an ErrorKind. This is useful when backtracking through a parse tree, accumulating error context on the way
source§fn from_error_kind(_input: I, kind: NomErrorKind) -> Self
fn from_error_kind(_input: I, kind: NomErrorKind) -> Self
Creates an error from the input position and an ErrorKind
source§impl PartialEq for ErrorKind
impl PartialEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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