pub enum ParseErrorKind<'i, T: 'i> {
    Basic(BasicParseErrorKind<'i>),
    Custom(T),
}Expand description
Details of a ParseError
Variants§
Basic(BasicParseErrorKind<'i>)
A fundamental parse error from a built-in parsing routine.
Custom(T)
A parse error reported by downstream consumer code.
Implementations§
Source§impl<'i, T> ParseErrorKind<'i, T>
 
impl<'i, T> ParseErrorKind<'i, T>
Sourcepub fn into<U>(self) -> ParseErrorKind<'i, U>where
    T: Into<U>,
 
pub fn into<U>(self) -> ParseErrorKind<'i, U>where
    T: Into<U>,
Like std::convert::Into::into
Trait Implementations§
Source§impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
 
impl<'i, T: Clone + 'i> Clone for ParseErrorKind<'i, T>
Source§fn clone(&self) -> ParseErrorKind<'i, T>
 
fn clone(&self) -> ParseErrorKind<'i, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl<'i, T: Debug + 'i> Debug for ParseErrorKind<'i, T>
 
impl<'i, T: Debug + 'i> Debug for ParseErrorKind<'i, T>
Source§impl<E: Display> Display for ParseErrorKind<'_, E>
 
impl<E: Display> Display for ParseErrorKind<'_, E>
Source§impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
 
impl<'i, T: PartialEq + 'i> PartialEq for ParseErrorKind<'i, T>
impl<'i, T: 'i> StructuralPartialEq for ParseErrorKind<'i, T>
Auto Trait Implementations§
impl<'i, T> Freeze for ParseErrorKind<'i, T>where
    T: Freeze,
impl<'i, T> RefUnwindSafe for ParseErrorKind<'i, T>where
    T: RefUnwindSafe,
impl<'i, T> !Send for ParseErrorKind<'i, T>
impl<'i, T> !Sync for ParseErrorKind<'i, T>
impl<'i, T> Unpin for ParseErrorKind<'i, T>where
    T: Unpin,
impl<'i, T> UnwindSafe for ParseErrorKind<'i, T>where
    T: 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