[−][src]Enum uriparse::authority::HostError
An error representing an invalid host.
Variants (Non-exhaustive)
The syntax for a future IP literal was used and is not currently supported.
An invalid character for an IPv4 address or registered name was used. Due to the ambiguity
of the grammar, it is not possible to say which. It is also possible that all the characters
were valid, but there was an invalid percent encoding (e.g. "%ZZ"
).
The syntax for an IPv6 literal was used (i.e. "[...]"
), but it contained an invalid IPv6
character.
The syntax for an IPv6 literal was used (i.e. "[...]"
) and all of the characters were
valid IPv6 characters. However, the format of the literal was invalid.
The syntax for a future IP literal was used (i.e. "[v*...]"
where "*"
is a hexadecimal
digit), but it contained an invalid character.
Trait Implementations
impl Clone for HostError
[src]
impl Copy for HostError
[src]
impl Debug for HostError
[src]
impl Display for HostError
[src]
impl Eq for HostError
[src]
impl Error for HostError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<HostError> for AuthorityError
[src]
impl From<Infallible> for HostError
[src]
fn from(_: Infallible) -> Self
[src]
impl Hash for HostError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<HostError> for HostError
[src]
impl StructuralEq for HostError
[src]
impl StructuralPartialEq for HostError
[src]
Auto Trait Implementations
impl RefUnwindSafe for HostError
impl Send for HostError
impl Sync for HostError
impl Unpin for HostError
impl UnwindSafe for HostError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,