pub enum ExceptionReason {
AmountMismatch,
DateMismatch,
DuplicateCandidate,
MissingReference,
CurrencyMismatch,
Other(String),
}Expand description
Reconciliation exception reason vocabulary.
Variants§
AmountMismatch
Amounts differ beyond the caller’s tolerance.
DateMismatch
Dates differ beyond the caller’s tolerance.
DuplicateCandidate
Duplicate candidate was found.
MissingReference
Required reference was missing.
CurrencyMismatch
Currency differed between items.
Other(String)
Caller-defined exception reason.
Trait Implementations§
Source§impl Clone for ExceptionReason
impl Clone for ExceptionReason
Source§fn clone(&self) -> ExceptionReason
fn clone(&self) -> ExceptionReason
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 moreSource§impl Debug for ExceptionReason
impl Debug for ExceptionReason
impl Eq for ExceptionReason
Source§impl Hash for ExceptionReason
impl Hash for ExceptionReason
Source§impl Ord for ExceptionReason
impl Ord for ExceptionReason
Source§fn cmp(&self, other: &ExceptionReason) -> Ordering
fn cmp(&self, other: &ExceptionReason) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExceptionReason
impl PartialEq for ExceptionReason
Source§fn eq(&self, other: &ExceptionReason) -> bool
fn eq(&self, other: &ExceptionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExceptionReason
impl PartialOrd for ExceptionReason
impl StructuralPartialEq for ExceptionReason
Auto Trait Implementations§
impl Freeze for ExceptionReason
impl RefUnwindSafe for ExceptionReason
impl Send for ExceptionReason
impl Sync for ExceptionReason
impl Unpin for ExceptionReason
impl UnsafeUnpin for ExceptionReason
impl UnwindSafe for ExceptionReason
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