pub struct NoHost;Expand description
Returned when failing to get a host.
Trait Implementations§
Source§impl Error for NoHost
impl Error for NoHost
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<NoHost> for SetUserinfoError
impl From<NoHost> for SetUserinfoError
Source§impl From<NoHost> for SetUsernameError
impl From<NoHost> for SetUsernameError
Source§impl From<NoHost> for SetPasswordError
impl From<NoHost> for SetPasswordError
Auto Trait Implementations§
impl Freeze for NoHost
impl RefUnwindSafe for NoHost
impl Send for NoHost
impl Sync for NoHost
impl Unpin for NoHost
impl UnsafeUnpin for NoHost
impl UnwindSafe for NoHost
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