pub enum ShebaValidationError {
Empty,
NotStartedWithIR,
InvalidDigit,
InvalidLength(usize),
InvalidChecksum,
BankNotFound,
InternalError,
}Variants§
Empty
NotStartedWithIR
InvalidDigit
InvalidLength(usize)
InvalidChecksum
BankNotFound
InternalError
Trait Implementations§
source§impl Clone for ShebaValidationError
impl Clone for ShebaValidationError
source§fn clone(&self) -> ShebaValidationError
fn clone(&self) -> ShebaValidationError
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 ShebaValidationError
impl Debug for ShebaValidationError
source§impl Display for ShebaValidationError
impl Display for ShebaValidationError
source§impl Error for ShebaValidationError
impl Error for ShebaValidationError
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 From<ParseIntError> for ShebaValidationError
impl From<ParseIntError> for ShebaValidationError
source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
source§impl Hash for ShebaValidationError
impl Hash for ShebaValidationError
source§impl PartialEq for ShebaValidationError
impl PartialEq for ShebaValidationError
source§fn eq(&self, other: &ShebaValidationError) -> bool
fn eq(&self, other: &ShebaValidationError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ShebaValidationError
impl Eq for ShebaValidationError
impl StructuralPartialEq for ShebaValidationError
Auto Trait Implementations§
impl RefUnwindSafe for ShebaValidationError
impl Send for ShebaValidationError
impl Sync for ShebaValidationError
impl Unpin for ShebaValidationError
impl UnwindSafe for ShebaValidationError
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