Struct mongors::connstring::Host[][src]

pub struct Host {
    pub host_name: String,
    pub ipc: String,
    pub port: u16,
}

Encapsulates the hostname and port of a host.

Fields

The hostname for this host.

The inter-process communication file path, if this is an IPC host.

The port to communicate on.

Methods

impl Host
[src]

Trait Implementations

impl Debug for Host
[src]

Formats the value using the given formatter. Read more

impl Clone for Host
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Host
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Host
[src]

impl Hash for Host
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Host

impl Sync for Host