pub enum ReconciliationError {
EmptySourceId,
EmptyTargetId,
ScoreOutOfRange,
}Expand description
Errors returned by reconciliation primitives.
Variants§
EmptySourceId
The source identifier was empty.
EmptyTargetId
The target identifier was empty.
ScoreOutOfRange
The score was outside the inclusive 0..=10,000 range.
Trait Implementations§
Source§impl Clone for ReconciliationError
impl Clone for ReconciliationError
Source§fn clone(&self) -> ReconciliationError
fn clone(&self) -> ReconciliationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReconciliationError
Source§impl Debug for ReconciliationError
impl Debug for ReconciliationError
Source§impl Display for ReconciliationError
impl Display for ReconciliationError
impl Eq for ReconciliationError
Source§impl Error for ReconciliationError
impl Error for ReconciliationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for ReconciliationError
impl PartialEq for ReconciliationError
Source§fn eq(&self, other: &ReconciliationError) -> bool
fn eq(&self, other: &ReconciliationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReconciliationError
Auto Trait Implementations§
impl Freeze for ReconciliationError
impl RefUnwindSafe for ReconciliationError
impl Send for ReconciliationError
impl Sync for ReconciliationError
impl Unpin for ReconciliationError
impl UnsafeUnpin for ReconciliationError
impl UnwindSafe for ReconciliationError
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