pub struct Error<'source> {
pub kind: ErrorKind,
pub pos: usize,
pub source: &'source [u8],
pub when: &'static str,
}
Fields§
§kind: ErrorKind
§pos: usize
§source: &'source [u8]
§when: &'static str
Trait Implementations§
Auto Trait Implementations§
impl<'source> Freeze for Error<'source>
impl<'source> RefUnwindSafe for Error<'source>
impl<'source> Send for Error<'source>
impl<'source> Sync for Error<'source>
impl<'source> Unpin for Error<'source>
impl<'source> UnwindSafe for Error<'source>
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