pub trait ConnectionCommands<T>: PrepareCommand<T> {
    fn hello(&self, options: HelloOptions) -> CommandResult<'_, T, HelloResult> { ... }
    fn ping<R>(&self, options: PingOptions) -> CommandResult<'_, T, R>
    where
        R: FromValue
, { ... } fn quit(&self) -> CommandResult<'_, T, ()> { ... } fn reset(&self) -> CommandResult<'_, T, ()> { ... } fn select(&self, index: usize) -> CommandResult<'_, T, ()> { ... } }
Expand description

A group of Redis commands related to connection management

See Also

Redis Connection Management Commands

Provided Methods

Delete all the keys of the currently selected DB.

See Also

https://redis.io/commands/flushdb/

Returns PONG if no argument is provided, otherwise return a copy of the argument as a bulk.

See Also

https://redis.io/commands/ping/

Ask the server to close the connection.

See Also

https://redis.io/commands/quit/

This command performs a full reset of the connection’s server-side context, mimicking the effect of disconnecting and reconnecting again.

See Also

https://redis.io/commands/reset/

Select the Redis logical database having the specified zero-based numeric index.

See Also

https://redis.io/commands/reset/

Implementors