pub struct Error<I> {
pub input: I,
pub code: ErrorKind,
}
Fields§
§input: I
§code: ErrorKind
Implementations§
Trait Implementations§
source§impl<I> ParseError<I> for Error<I>
impl<I> ParseError<I> for Error<I>
fn from_error_kind(input: I, kind: ErrorKind) -> Self
source§impl<I: PartialEq> PartialEq for Error<I>
impl<I: PartialEq> PartialEq for Error<I>
impl<I: Eq> Eq for Error<I>
impl<I> StructuralPartialEq for Error<I>
Auto Trait Implementations§
impl<I> Freeze for Error<I>where
I: Freeze,
impl<I> RefUnwindSafe for Error<I>where
I: RefUnwindSafe,
impl<I> Send for Error<I>where
I: Send,
impl<I> Sync for Error<I>where
I: Sync,
impl<I> Unpin for Error<I>where
I: Unpin,
impl<I> UnwindSafe for Error<I>where
I: 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