pub enum HostKind {
Ip,
Domain,
Localhost,
Unknown,
}Expand description
Classifies a host-like input.
Variants§
Ip
IP literal host.
Domain
Domain or hostname-like host.
Localhost
The special localhost host.
Unknown
Unknown or invalid host input.
Trait Implementations§
impl Eq for HostKind
impl StructuralPartialEq for HostKind
Auto Trait Implementations§
impl Freeze for HostKind
impl RefUnwindSafe for HostKind
impl Send for HostKind
impl Sync for HostKind
impl Unpin for HostKind
impl UnsafeUnpin for HostKind
impl UnwindSafe for HostKind
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