Struct redis::async::Connection[][src]

pub struct Connection { /* fields omitted */ }

Represents a stateful redis TCP connection.

Methods

impl Connection
[src]

Trait Implementations

impl ConnectionLike for Connection
[src]

Sends an already encoded (packed) command into the TCP socket and reads the single response from it. Read more

Sends multiple already encoded (packed) command into the TCP socket and reads count responses from it. This is used to implement pipelining. Read more

Returns the database this connection is bound to. Note that this information might be unreliable because it's initially cached and also might be incorrect if the connection like object is not actually connected. Read more

Auto Trait Implementations

impl Send for Connection

impl Sync for Connection