Enum nom_bibtex::error::BibtexError
source · pub enum BibtexError {
Parsing(String),
StringVariableNotFound(String),
}Variants§
Implementations§
source§impl BibtexError
impl BibtexError
pub fn with_context( input: &str, err: Err<VerboseError<LocatedSpan<&'_ str, TracableInfo>>> ) -> BibtexError
Trait Implementations§
source§impl Debug for BibtexError
impl Debug for BibtexError
source§impl Display for BibtexError
impl Display for BibtexError
source§impl Error for BibtexError
impl Error for BibtexError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<BibtexError> for BibtexError
impl PartialEq<BibtexError> for BibtexError
source§fn eq(&self, other: &BibtexError) -> bool
fn eq(&self, other: &BibtexError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.