[][src]Struct redis_cache::RedisCache

pub struct RedisCache<K, V> where
    K: Eq + Hash + Send + Sync + Serialize + 'static,
    V: Send + Sync + Clone + Serialize + DeserializeOwned + 'static, 
{ /* fields omitted */ }

Implementations

impl<K, V> RedisCache<K, V> where
    K: Eq + Hash + Send + Sync + Serialize + 'static,
    V: Send + Sync + Clone + Serialize + DeserializeOwned + 'static, 
[src]

pub fn new<U: IntoConnectionInfo>(url: U) -> RedisResult<RedisCache<K, V>>[src]

Trait Implementations

impl<K, V> Cache<K, V> for RedisCache<K, V> where
    K: Eq + Hash + Send + Sync + Serialize + 'static,
    V: Send + Sync + Clone + Serialize + DeserializeOwned + 'static, 
[src]

Auto Trait Implementations

impl<K, V> !RefUnwindSafe for RedisCache<K, V>

impl<K, V> Send for RedisCache<K, V>

impl<K, V> Sync for RedisCache<K, V>

impl<K, V> Unpin for RedisCache<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> !UnwindSafe for RedisCache<K, V>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.