Enum winnow::error::VerboseErrorKind
source · pub enum VerboseErrorKind {
Context(&'static str),
Winnow(ErrorKind),
}
Expand description
Error context for VerboseError
Variants§
Context(&'static str)
Static string added by the context
function
Winnow(ErrorKind)
Error kind given by various parsers
Trait Implementations§
source§impl Clone for VerboseErrorKind
impl Clone for VerboseErrorKind
source§fn clone(&self) -> VerboseErrorKind
fn clone(&self) -> VerboseErrorKind
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 Debug for VerboseErrorKind
impl Debug for VerboseErrorKind
source§impl PartialEq<VerboseErrorKind> for VerboseErrorKind
impl PartialEq<VerboseErrorKind> for VerboseErrorKind
source§fn eq(&self, other: &VerboseErrorKind) -> bool
fn eq(&self, other: &VerboseErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.