pub struct InvalidOpaqueHost;Expand description
Returned when failing to parse an opaque host.
Trait Implementations§
Source§impl Debug for InvalidOpaqueHost
impl Debug for InvalidOpaqueHost
Source§impl Display for InvalidOpaqueHost
impl Display for InvalidOpaqueHost
Source§impl Error for InvalidOpaqueHost
impl Error for InvalidOpaqueHost
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<InvalidOpaqueHost> for InvalidHost
impl From<InvalidOpaqueHost> for InvalidHost
Source§fn from(_: InvalidOpaqueHost) -> Self
fn from(_: InvalidOpaqueHost) -> 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 InvalidOpaqueHost
impl RefUnwindSafe for InvalidOpaqueHost
impl Send for InvalidOpaqueHost
impl Sync for InvalidOpaqueHost
impl Unpin for InvalidOpaqueHost
impl UnsafeUnpin for InvalidOpaqueHost
impl UnwindSafe for InvalidOpaqueHost
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