Enum ErrorKind
pub enum ErrorKind
Indicates which parser returned an error
Variants
-
Tag -
MapRes -
MapOpt -
Alt -
IsNot -
IsA -
SeparatedList -
SeparatedNonEmptyList -
Many0 -
Many1 -
ManyTill -
Count -
TakeUntil -
LengthValue -
TagClosure -
Alpha -
Digit -
HexDigit -
OctDigit -
BinDigit -
AlphaNumeric -
Space -
MultiSpace -
LengthValueFn -
Eof -
Switch -
TagBits -
OneOf -
NoneOf -
Char -
CrLf -
RegexpMatch -
RegexpMatches -
RegexpFind -
RegexpCapture -
RegexpCaptures -
TakeWhile1 -
Complete -
Fix -
Escaped -
EscapedTransform -
NonEmpty -
ManyMN -
Not -
Permutation -
Verify -
TakeTill1 -
TakeWhileMN -
TooLarge -
Many0Count -
Many1Count -
Float -
Satisfy -
Fail -
Many -
Fold -
Precedence
Implementations
impl ErrorKind
fn description(&self) -> &strConverts an ErrorKind to a text description
Trait Implementations
impl Clone for ErrorKind
fn clone(&self) -> ErrorKind
impl Copy for ErrorKind
impl Debug for ErrorKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ErrorKind
impl Hash for ErrorKind
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
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 UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for ErrorKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ErrorKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ErrorKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ErrorKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ErrorKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ErrorKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for ErrorKind
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ErrorKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ErrorKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>