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 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 ShebaValidationError
impl Debug for ShebaValidationError
Source§impl<'de> Deserialize<'de> for ShebaValidationError
impl<'de> Deserialize<'de> for ShebaValidationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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)>
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 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§impl Serialize for ShebaValidationError
impl Serialize for ShebaValidationError
impl Copy for ShebaValidationError
impl Eq for ShebaValidationError
impl StructuralPartialEq for ShebaValidationError
Auto Trait Implementations§
impl Freeze for ShebaValidationError
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