pub struct InvalidNonSpecialHost;Expand description
Returned when attempting to parse an invalid NonSpecialHost.
Trait Implementations§
Source§impl Debug for InvalidNonSpecialHost
impl Debug for InvalidNonSpecialHost
Source§impl Display for InvalidNonSpecialHost
impl Display for InvalidNonSpecialHost
Source§impl Error for InvalidNonSpecialHost
impl Error for InvalidNonSpecialHost
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<InvalidEmptyHost> for InvalidNonSpecialHost
impl From<InvalidEmptyHost> for InvalidNonSpecialHost
Source§fn from(_: InvalidEmptyHost) -> Self
fn from(_: InvalidEmptyHost) -> Self
Converts to this type from the input type.
Source§impl From<InvalidIpv6Host> for InvalidNonSpecialHost
impl From<InvalidIpv6Host> for InvalidNonSpecialHost
Source§fn from(_: InvalidIpv6Host) -> Self
fn from(_: InvalidIpv6Host) -> Self
Converts to this type from the input type.
Source§impl From<InvalidNonSpecialHost> for InvalidUrl
impl From<InvalidNonSpecialHost> for InvalidUrl
Source§fn from(source: InvalidNonSpecialHost) -> Self
fn from(source: InvalidNonSpecialHost) -> Self
Converts to this type from the input type.
Source§impl From<InvalidNonSpecialHost> for InvalidHost
impl From<InvalidNonSpecialHost> for InvalidHost
Source§fn from(_: InvalidNonSpecialHost) -> Self
fn from(_: InvalidNonSpecialHost) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOpaqueHost> for InvalidNonSpecialHost
impl From<InvalidOpaqueHost> for InvalidNonSpecialHost
Source§fn from(_: InvalidOpaqueHost) -> Self
fn from(_: InvalidOpaqueHost) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidNonSpecialHost
impl RefUnwindSafe for InvalidNonSpecialHost
impl Send for InvalidNonSpecialHost
impl Sync for InvalidNonSpecialHost
impl Unpin for InvalidNonSpecialHost
impl UnsafeUnpin for InvalidNonSpecialHost
impl UnwindSafe for InvalidNonSpecialHost
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