pub enum BaseErrorKind {
Kind(ErrorKind),
Expected(Expectation),
External(String),
}Expand description
The kind of base error
Variants§
Kind(ErrorKind)
A nom ErrorKind
Expected(Expectation)
An expected value
External(String)
An external error
Trait Implementations§
Source§impl Clone for BaseErrorKind
impl Clone for BaseErrorKind
Source§fn clone(&self) -> BaseErrorKind
fn clone(&self) -> BaseErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaseErrorKind
impl Debug for BaseErrorKind
Source§impl PartialEq for BaseErrorKind
impl PartialEq for BaseErrorKind
impl StructuralPartialEq for BaseErrorKind
Auto Trait Implementations§
impl Freeze for BaseErrorKind
impl RefUnwindSafe for BaseErrorKind
impl Send for BaseErrorKind
impl Sync for BaseErrorKind
impl Unpin for BaseErrorKind
impl UnwindSafe for BaseErrorKind
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