ISledExt

Trait ISledExt 

Source
pub trait ISledExt {
    // Required method
    fn expire<K>(&self, key: K, ttl: Duration) -> Result<bool>
       where K: AsRef<[u8]>;
}

Required Methods§

Source

fn expire<K>(&self, key: K, ttl: Duration) -> Result<bool>
where K: AsRef<[u8]>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ISledExt for Db

Source§

fn expire<K>(&self, key: K, ttl: Duration) -> Result<bool>
where K: AsRef<[u8]>,

Implementors§