pub enum ErrorKind {
Char(char),
Nom(ErrorKind),
}Variants§
Char(char)
Indicates which character was expected by the char function
Nom(ErrorKind)
Error kind given by various nom parsers
Trait Implementations§
Source§impl From<ErrorKind> for ErrorKind
impl From<ErrorKind> for ErrorKind
Source§fn from(value: NomErrorKind) -> Self
fn from(value: NomErrorKind) -> Self
Converts to this type from the input type.
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)