Enum winnow::error::VerboseErrorKind
source ยท pub enum VerboseErrorKind<C = &'static str> {
Context(C),
Winnow(ErrorKind),
}
๐Deprecated since 0.5.8: Replaced with
ContextError
Expand description
Deprecated, replaced with ContextError
Variantsยง
Context(C)
๐Deprecated since 0.5.8: Replaced with
ContextError
Static string added by the context
function
Winnow(ErrorKind)
๐Deprecated since 0.5.8: Replaced with
ContextError
Error kind given by various parsers
Trait Implementationsยง
sourceยงimpl<C: Clone> Clone for VerboseErrorKind<C>
impl<C: Clone> Clone for VerboseErrorKind<C>
sourceยงfn clone(&self) -> VerboseErrorKind<C>
fn clone(&self) -> VerboseErrorKind<C>
Returns a copy 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<C: Debug> Debug for VerboseErrorKind<C>
impl<C: Debug> Debug for VerboseErrorKind<C>
sourceยงimpl<C: PartialEq> PartialEq for VerboseErrorKind<C>
impl<C: PartialEq> PartialEq for VerboseErrorKind<C>
sourceยงfn eq(&self, other: &VerboseErrorKind<C>) -> bool
fn eq(&self, other: &VerboseErrorKind<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<C: Eq> Eq for VerboseErrorKind<C>
impl<C> StructuralPartialEq for VerboseErrorKind<C>
Auto Trait Implementationsยง
impl<C> Freeze for VerboseErrorKind<C>where
C: Freeze,
impl<C> RefUnwindSafe for VerboseErrorKind<C>where
C: RefUnwindSafe,
impl<C> Send for VerboseErrorKind<C>where
C: Send,
impl<C> Sync for VerboseErrorKind<C>where
C: Sync,
impl<C> Unpin for VerboseErrorKind<C>where
C: Unpin,
impl<C> UnwindSafe for VerboseErrorKind<C>where
C: UnwindSafe,
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