[−][src]Enum nom_methods::lib::ErrorKind
indicates which parser returned an error
Variants
Custom(E)TagMapResMapOptAltIsNotIsASeparatedListSeparatedNonEmptyListMany0Many1ManyTillCountTakeUntilAndConsumeTakeUntilTakeUntilEitherAndConsumeTakeUntilEitherLengthValueTagClosureAlphaDigitHexDigitOctDigitAlphaNumericSpaceMultiSpaceLengthValueFnEofExprOptExprResCondReduceSwitchTagBitsOneOfNoneOfCharCrLfRegexpMatchRegexpMatchesRegexpFindRegexpCaptureRegexpCapturesTakeWhile1CompleteFixEscapedEscapedTransformTagStrDeprecated since 4.0.0:
Please use Tag instead
IsNotStrDeprecated since 4.0.0:
Please use IsNot instead
IsAStrDeprecated since 4.0.0:
Please use IsA instead
TakeWhile1StrDeprecated since 4.0.0:
Please use TakeWhile1 instead
NonEmptyManyMNTakeUntilAndConsumeStrDeprecated since 4.0.0:
Please use TakeUntilAndConsume instead
TakeUntilStrDeprecated since 4.0.0:
Please use TakeUntil instead
NotPermutationVerifyTakeTill1TakeUntilAndConsume1TakeWhileMNParseToTooLargeMany0CountMany1CountMethods
impl<E> ErrorKind<E>[src]
pub fn description(&self) -> &str[src]
pub fn into_error_kind(self) -> ErrorKind<E>[src]
Convert Err into an ErrorKind.
This allows application code to use ErrorKind and stay independent from the verbose-errors features activation.
Trait Implementations
impl<E> Hash for ErrorKind<E> where
E: Hash, [src]
E: Hash,
fn hash<__HE>(&self, state: &mut __HE) where
__HE: Hasher, [src]
__HE: Hasher,
default fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<E> Debug for ErrorKind<E> where
E: Debug, [src]
E: Debug,
impl<E> Clone for ErrorKind<E> where
E: Clone, [src]
E: Clone,
fn clone(&self) -> ErrorKind<E>[src]
default fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<E> Eq for ErrorKind<E> where
E: Eq, [src]
E: Eq,
impl<E> PartialEq<ErrorKind<E>> for ErrorKind<E> where
E: PartialEq<E>, [src]
E: PartialEq<E>,
impl<F, E> Convert<ErrorKind<F>> for ErrorKind<E> where
E: From<F>, [src]
E: From<F>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,