pub enum ParseErrorOrigin {
BlockSize,
BlockHash1,
BlockHash2,
}
Expand description
A part which (possibly) caused a fuzzy hash parse error.
See “Fuzzy Hash Internals” section of FuzzyHashData
for corresponding parts.
Since the parser currently ignores the file name part, this part is not in this enumeration for now.
§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 duplicate 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
impl Copy for ParseErrorOrigin
impl Eq for ParseErrorOrigin
impl StructuralPartialEq for ParseErrorOrigin
Auto Trait Implementations§
impl Freeze for ParseErrorOrigin
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