Enum redis::ConnectionAddr [] [src]

pub enum ConnectionAddr {
    Tcp(String, u16),
}

Defines the connection address.

The fields available on this struct depend on if the crate has been compiled with the unix_socket feature or not. The Tcp field is always available, but the Unix one is not.

Variants

Tcp

Format for this is (host, port).

Trait Implementations

Derived Implementations

impl Debug for ConnectionAddr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ConnectionAddr
[src]

fn clone(&self) -> ConnectionAddr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more