pub enum ParseError {
AndThenUnusedBytes,
BuilderError,
UnexpectedEndOfInput,
OrdChoiceNoMatch,
CondFailed,
SizeOverflow,
TryMapFailed,
RefinedPredicateFailed,
RepeatEmptyElement,
Other(String),
}
Expand description
Parser errors
Variants§
AndThenUnusedBytes
The second combinator of AndThen did not consume all bytes
BuilderError
UnexpectedEndOfInput
OrdChoiceNoMatch
CondFailed
SizeOverflow
TryMapFailed
RefinedPredicateFailed
RepeatEmptyElement
Other(String)
Trait Implementations§
Source§impl Debug for ParseError
impl Debug for ParseError
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(e: ParseError) -> Error
fn from(e: ParseError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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
Source§impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
Source§type Error = <U as SpecTryFrom<T>>::Error
type Error = <U as SpecTryFrom<T>>::Error
The type returned in the event of a conversion error.