pub enum AddrParseError {
InvalidIpv6,
InvalidIpv4,
InvalidHostname,
InvalidPort,
Inconclusive,
}Variants§
Trait Implementations§
Source§impl Clone for AddrParseError
impl Clone for AddrParseError
Source§fn clone(&self) -> AddrParseError
fn clone(&self) -> AddrParseError
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 AddrParseError
impl Debug for AddrParseError
Source§impl Display for AddrParseError
impl Display for AddrParseError
Source§impl From<AddrParseError> for WireError
impl From<AddrParseError> for WireError
Source§fn from(e: AddrParseError) -> Self
fn from(e: AddrParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddrParseError
impl RefUnwindSafe for AddrParseError
impl Send for AddrParseError
impl Sync for AddrParseError
impl Unpin for AddrParseError
impl UnwindSafe for AddrParseError
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