pub enum LightningAddressError {
Empty,
TooLong {
actual: usize,
maximum: usize,
},
MissingSeparator,
MultipleSeparators,
DefaultIdentifierShorthand,
InvalidUsername,
InvalidDomain,
IpLiteralDomain,
OnionDomain,
}Variants§
Empty
TooLong
MissingSeparator
MultipleSeparators
DefaultIdentifierShorthand
InvalidUsername
InvalidDomain
IpLiteralDomain
OnionDomain
Trait Implementations§
Source§impl Clone for LightningAddressError
impl Clone for LightningAddressError
impl Copy for LightningAddressError
Source§impl Debug for LightningAddressError
impl Debug for LightningAddressError
Source§impl Display for LightningAddressError
impl Display for LightningAddressError
impl Eq for LightningAddressError
Source§impl Error for LightningAddressError
impl Error for LightningAddressError
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 PartialEq for LightningAddressError
impl PartialEq for LightningAddressError
impl StructuralPartialEq for LightningAddressError
Auto Trait Implementations§
impl Freeze for LightningAddressError
impl RefUnwindSafe for LightningAddressError
impl Send for LightningAddressError
impl Sync for LightningAddressError
impl Unpin for LightningAddressError
impl UnsafeUnpin for LightningAddressError
impl UnwindSafe for LightningAddressError
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