Trait redis_driver::ServerCommands
source · [−]pub trait ServerCommands {
fn flushdb<'life0, 'async_trait>(
&'life0 self,
flushing_mode: FlushingMode
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn flushall<'life0, 'async_trait>(
&'life0 self,
flushing_mode: FlushingMode
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Required Methods
Delete all the keys of all the existing databases, not just the currently selected one.