pub struct HostInfo {
pub canonical: String,
pub ip: String,
}Expand description
Result of resolving the host name a client sent with host=.
Fields§
§canonical: String%CH: canonical host name.
ip: String%IP: first address the name resolves to.
Trait Implementations§
impl Eq for HostInfo
impl StructuralPartialEq for HostInfo
Auto Trait Implementations§
impl Forget for HostInfo
impl Freeze for HostInfo
impl Move for HostInfo
impl RefUnwindSafe for HostInfo
impl Send for HostInfowhere
RawVecInner: Send,
impl Sync for HostInfowhere
RawVecInner: Sync,
impl Unpin for HostInfo
impl UnsafeUnpin for HostInfo
impl UnwindSafe for HostInfowhere
RawVecInner: UnwindSafe,
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