Struct resolve::hosts::Host
[−]
[src]
pub struct Host { pub address: IpAddr, pub name: String, pub aliases: Vec<String>, }
Represents a single host within a host table.
Fields
address: IpAddr
Host address
name: String
Canonical host name
aliases: Vec<String>
Host aliases
Trait Implementations
impl Clone for Host
[src]
fn clone(&self) -> Host
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more