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

Host address

Canonical host name

Host aliases

Trait Implementations

impl Clone for Host
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Host
[src]

[src]

Formats the value using the given formatter.