pub enum HostName {
RegName(String),
Ipv4Address(Ipv4Addr),
IpLiteral(IpLiteral),
}
Variants§
Trait Implementations§
impl StructuralPartialEq for HostName
Auto Trait Implementations§
impl Freeze for HostName
impl RefUnwindSafe for HostName
impl Send for HostName
impl Sync for HostName
impl Unpin for HostName
impl UnwindSafe for HostName
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