pub struct InvalidIpv4Host;Expand description
Returned when failing to parse an IPv4 host.
Trait Implementations§
Source§impl Debug for InvalidIpv4Host
impl Debug for InvalidIpv4Host
Source§impl Display for InvalidIpv4Host
impl Display for InvalidIpv4Host
Source§impl Error for InvalidIpv4Host
impl Error for InvalidIpv4Host
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<InvalidIpv4Host> for InvalidHost
impl From<InvalidIpv4Host> for InvalidHost
Source§fn from(_: InvalidIpv4Host) -> Self
fn from(_: InvalidIpv4Host) -> Self
Converts to this type from the input type.
Source§impl From<InvalidIpv4Host> for InvalidFileHost
impl From<InvalidIpv4Host> for InvalidFileHost
Source§fn from(_: InvalidIpv4Host) -> Self
fn from(_: InvalidIpv4Host) -> Self
Converts to this type from the input type.
Source§impl From<InvalidIpv4Host> for InvalidSpecialNotFileHost
impl From<InvalidIpv4Host> for InvalidSpecialNotFileHost
Source§fn from(_: InvalidIpv4Host) -> Self
fn from(_: InvalidIpv4Host) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidIpv4Host
impl RefUnwindSafe for InvalidIpv4Host
impl Send for InvalidIpv4Host
impl Sync for InvalidIpv4Host
impl Unpin for InvalidIpv4Host
impl UnsafeUnpin for InvalidIpv4Host
impl UnwindSafe for InvalidIpv4Host
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