Struct aerospike::Host [] [src]

pub struct Host {
    pub name: String,
    pub port: u16,
}

Host name/port of database server.

Fields

Host name or IP address of database server.

Port of database server.

Methods

impl Host
[src]

Create a new host instance given a hostname/IP and a port number.

Trait Implementations

impl Debug for Host
[src]

Formats the value using the given formatter.

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 state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for Host
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Host
[src]

Formats the value using the given formatter.