Trait ssdeep::ParseErrorInfo
source · pub trait ParseErrorInfo {
// Required methods
fn kind(&self) -> ParseErrorKind;
fn origin(&self) -> ParseErrorOrigin;
fn offset(&self) -> usize;
}Expand description
The trait implementing a FuzzyHashData
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.