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(String, u16)
Format for this is (host, port)
.
Trait Implementations
impl Debug for ConnectionAddr
[src]
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