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

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

impl Clone for ConnectionAddr

fn clone(&self) -> ConnectionAddr

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