pub struct TreeErrorBase<I> {
pub input: I,
pub kind: ErrorKind,
pub cause: Option<Box<dyn Error + Send + Sync + 'static>>,
}
Available on crate feature
std
only.Expand description
Fields§
§input: I
Parsed input, at the location where the error occurred
kind: ErrorKind
Debug context
cause: Option<Box<dyn Error + Send + Sync + 'static>>
Trait Implementations§
Source§impl<I: Debug> Debug for TreeErrorBase<I>
impl<I: Debug> Debug for TreeErrorBase<I>
Auto Trait Implementations§
impl<I> Freeze for TreeErrorBase<I>where
I: Freeze,
impl<I> !RefUnwindSafe for TreeErrorBase<I>
impl<I> Send for TreeErrorBase<I>where
I: Send,
impl<I> Sync for TreeErrorBase<I>where
I: Sync,
impl<I> Unpin for TreeErrorBase<I>where
I: Unpin,
impl<I> !UnwindSafe for TreeErrorBase<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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.