pub enum BeneficiaryParseError {
InvalidFormat,
Int(ParseIntError),
Address(AddressParseError),
}
Variants§
Trait Implementations§
Source§impl Clone for BeneficiaryParseError
impl Clone for BeneficiaryParseError
Source§fn clone(&self) -> BeneficiaryParseError
fn clone(&self) -> BeneficiaryParseError
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 BeneficiaryParseError
impl Debug for BeneficiaryParseError
Source§impl Display for BeneficiaryParseError
impl Display for BeneficiaryParseError
Source§impl Error for BeneficiaryParseError
impl Error for BeneficiaryParseError
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<AddressParseError> for BeneficiaryParseError
impl From<AddressParseError> for BeneficiaryParseError
Source§fn from(v: AddressParseError) -> BeneficiaryParseError
fn from(v: AddressParseError) -> BeneficiaryParseError
Converts to this type from the input type.
Source§impl From<ParseIntError> for BeneficiaryParseError
impl From<ParseIntError> for BeneficiaryParseError
Source§fn from(v: ParseIntError) -> BeneficiaryParseError
fn from(v: ParseIntError) -> BeneficiaryParseError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BeneficiaryParseError
impl RefUnwindSafe for BeneficiaryParseError
impl Send for BeneficiaryParseError
impl Sync for BeneficiaryParseError
impl Unpin for BeneficiaryParseError
impl UnwindSafe for BeneficiaryParseError
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