Struct ssdeep::ParseErrorEither
source · pub struct ParseErrorEither(_, _);
Available on crate feature
easy-functions
only.Expand description
The error type representing a parse error for one of the operands
specified to the compare
function.
Implementations§
source§impl ParseErrorEither
impl ParseErrorEither
sourcepub fn side(&self) -> ParseErrorSide
pub fn side(&self) -> ParseErrorSide
Returns which operand caused a parse error.
Trait Implementations§
source§impl Clone for ParseErrorEither
impl Clone for ParseErrorEither
source§fn clone(&self) -> ParseErrorEither
fn clone(&self) -> ParseErrorEither
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 ParseErrorEither
impl Debug for ParseErrorEither
source§impl Display for ParseErrorEither
impl Display for ParseErrorEither
source§impl Error for ParseErrorEither
Available on crate feature std
only.
impl Error for ParseErrorEither
Available on crate feature
std
only.1.30.0 · 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 ParseErrorInfo for ParseErrorEither
impl ParseErrorInfo for ParseErrorEither
source§impl PartialEq<ParseErrorEither> for ParseErrorEither
impl PartialEq<ParseErrorEither> for ParseErrorEither
source§fn eq(&self, other: &ParseErrorEither) -> bool
fn eq(&self, other: &ParseErrorEither) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParseErrorEither
impl Eq for ParseErrorEither
impl StructuralEq for ParseErrorEither
impl StructuralPartialEq for ParseErrorEither
Auto Trait Implementations§
impl RefUnwindSafe for ParseErrorEither
impl Send for ParseErrorEither
impl Sync for ParseErrorEither
impl Unpin for ParseErrorEither
impl UnwindSafe for ParseErrorEither
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