pub enum SettlementAddressError {
InvalidPayToUri(String),
InvalidCaip10(String),
UnknownFormat,
}Expand description
Errors that can occur when parsing settlement addresses.
Variants§
InvalidPayToUri(String)
Invalid PayTo URI format.
InvalidCaip10(String)
Invalid CAIP-10 format.
UnknownFormat
Unknown settlement address format.
Trait Implementations§
Source§impl Debug for SettlementAddressError
impl Debug for SettlementAddressError
Source§impl Display for SettlementAddressError
impl Display for SettlementAddressError
Source§impl Error for SettlementAddressError
impl Error for SettlementAddressError
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()
Auto Trait Implementations§
impl Freeze for SettlementAddressError
impl RefUnwindSafe for SettlementAddressError
impl Send for SettlementAddressError
impl Sync for SettlementAddressError
impl Unpin for SettlementAddressError
impl UnsafeUnpin for SettlementAddressError
impl UnwindSafe for SettlementAddressError
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