pub enum HostRef<'input> {
Ipv4(Ipv4Addr),
Dns(&'input str),
Wildcard,
}Expand description
See Host for an owned variant.
Variants§
Trait Implementations§
impl<'input> Eq for HostRef<'input>
impl<'input> StructuralPartialEq for HostRef<'input>
Auto Trait Implementations§
impl<'input> Freeze for HostRef<'input>
impl<'input> RefUnwindSafe for HostRef<'input>
impl<'input> Send for HostRef<'input>
impl<'input> Sync for HostRef<'input>
impl<'input> Unpin for HostRef<'input>
impl<'input> UnwindSafe for HostRef<'input>
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