pub trait ParseErrorInfo {
// Required methods
fn kind(&self) -> ParseErrorKind;
fn origin(&self) -> ParseErrorOrigin;
fn offset(&self) -> usize;
}
Expand description
The trait implementing a fuzzy hash parse error.
Required Methods§
Sourcefn kind(&self) -> ParseErrorKind
fn kind(&self) -> ParseErrorKind
Returns the cause of the error.
Sourcefn origin(&self) -> ParseErrorOrigin
fn origin(&self) -> ParseErrorOrigin
Returns the part which (possibly) caused the error.
Implementors§
impl ParseErrorInfo for ParseError
impl ParseErrorInfo for ParseErrorEither
Available on crate feature
easy-functions
only.