Struct radiation::ParseError
source · [−]pub struct ParseError<I> {
pub input: I,
pub kind: ParseErrorKind,
pub subsequent: Option<Box<ParseError<I>>>,
}Fields
input: Ikind: ParseErrorKindsubsequent: Option<Box<ParseError<I>>>Implementations
sourceimpl<I> ParseError<I> where
I: Into<Vec<u8>>,
impl<I> ParseError<I> where
I: Into<Vec<u8>>,
pub fn into_vec(self) -> ParseError<Vec<u8>>
Trait Implementations
sourceimpl<I> Debug for ParseError<I> where
I: AsRef<[u8]>,
impl<I> Debug for ParseError<I> where
I: AsRef<[u8]>,
sourceimpl<I> Display for ParseError<I>
impl<I> Display for ParseError<I>
sourceimpl<I, E> FromExternalError<I, E> for ParseError<I> where
E: Display,
impl<I, E> FromExternalError<I, E> for ParseError<I> where
E: Display,
sourcefn from_external_error(input: I, kind: NomErrorKind, e: E) -> Self
fn from_external_error(input: I, kind: NomErrorKind, e: E) -> Self
sourceimpl<I> ParseError<I> for ParseError<I>
impl<I> ParseError<I> for ParseError<I>
sourcefn 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
sourcefn append(input: I, kind: NomErrorKind, other: Self) -> Self
fn append(input: I, kind: NomErrorKind, other: Self) -> Self
Auto Trait Implementations
impl<I> RefUnwindSafe for ParseError<I> where
I: RefUnwindSafe,
impl<I> Send for ParseError<I> where
I: Send,
impl<I> Sync for ParseError<I> where
I: Sync,
impl<I> Unpin for ParseError<I> where
I: Unpin,
impl<I> UnwindSafe for ParseError<I> where
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more