Enum lightning::ln::msgs::SocketAddressParseError
source · pub enum SocketAddressParseError {
SocketAddrParse,
InvalidInput,
InvalidPort,
InvalidOnionV3,
}
Expand description
SocketAddress
error variants
Variants§
SocketAddrParse
Socket address (IPv4/IPv6) parsing error
InvalidInput
Invalid input format
InvalidPort
Invalid port
InvalidOnionV3
Invalid onion v3 address
Trait Implementations§
source§impl Clone for SocketAddressParseError
impl Clone for SocketAddressParseError
source§fn clone(&self) -> SocketAddressParseError
fn clone(&self) -> SocketAddressParseError
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 SocketAddressParseError
impl Debug for SocketAddressParseError
source§impl Display for SocketAddressParseError
impl Display for SocketAddressParseError
source§impl PartialEq<SocketAddressParseError> for SocketAddressParseError
impl PartialEq<SocketAddressParseError> for SocketAddressParseError
source§fn eq(&self, other: &SocketAddressParseError) -> bool
fn eq(&self, other: &SocketAddressParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SocketAddressParseError
impl StructuralEq for SocketAddressParseError
impl StructuralPartialEq for SocketAddressParseError
Auto Trait Implementations§
impl RefUnwindSafe for SocketAddressParseError
impl Send for SocketAddressParseError
impl Sync for SocketAddressParseError
impl Unpin for SocketAddressParseError
impl UnwindSafe for SocketAddressParseError
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