pub struct Error<'i> { /* private fields */ }
Expand description
Describes a parse error and where in the input it occurs.
Trait Implementations§
Source§impl<'i> Error for Error<'i>
impl<'i> Error for Error<'i>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl<'i> Copy for Error<'i>
impl<'i> Eq for Error<'i>
impl<'i> StructuralPartialEq for Error<'i>
Auto Trait Implementations§
impl<'i> Freeze for Error<'i>
impl<'i> RefUnwindSafe for Error<'i>
impl<'i> Send for Error<'i>
impl<'i> Sync for Error<'i>
impl<'i> Unpin for Error<'i>
impl<'i> UnwindSafe for Error<'i>
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