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