Enum ssdeep::ParseErrorOrigin
source · pub enum ParseErrorOrigin {
BlockSize,
BlockHash1,
BlockHash2,
}
Expand description
A part which (possibly) caused a fuzzy hash parse error.
See FuzzyHashData
for corresponding parts.
Since the parser ignores the file name part, this part is not in this enumeration.
§Compatibility Note
On the next major release, the FileName
variant will be added.
Variants§
Trait Implementations§
source§impl Clone for ParseErrorOrigin
impl Clone for ParseErrorOrigin
source§fn clone(&self) -> ParseErrorOrigin
fn clone(&self) -> ParseErrorOrigin
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 ParseErrorOrigin
impl Debug for ParseErrorOrigin
source§impl Display for ParseErrorOrigin
impl Display for ParseErrorOrigin
source§impl PartialEq for ParseErrorOrigin
impl PartialEq for ParseErrorOrigin
source§fn eq(&self, other: &ParseErrorOrigin) -> bool
fn eq(&self, other: &ParseErrorOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParseErrorOrigin
impl Eq for ParseErrorOrigin
impl StructuralPartialEq for ParseErrorOrigin
Auto Trait Implementations§
impl RefUnwindSafe for ParseErrorOrigin
impl Send for ParseErrorOrigin
impl Sync for ParseErrorOrigin
impl Unpin for ParseErrorOrigin
impl UnwindSafe for ParseErrorOrigin
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