Trait redis_driver::ServerCommands
source · [−]pub trait ServerCommands<T>: PrepareCommand<T> {
fn flushdb(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()> { ... }
fn flushall(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()> { ... }
fn time(&self) -> CommandResult<'_, T, (u32, u32)> { ... }
}
Expand description
Provided Methods
sourcefn flushdb(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()>
fn flushdb(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()>
sourcefn flushall(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()>
fn flushall(&self, flushing_mode: FlushingMode) -> CommandResult<'_, T, ()>
Delete all the keys of all the existing databases, not just the currently selected one.