Trait resque::WithRedis
[−]
[src]
pub trait WithRedis: Send + Clone + 'static { type Conn: Deref<Target = Connection>; fn with_redis<F, R>(&self, f: F) -> Result<R>
where
F: FnOnce(&Self::Conn) -> Result<R>; }
Associated Types
type Conn: Deref<Target = Connection>
Required Methods
fn with_redis<F, R>(&self, f: F) -> Result<R> where
F: FnOnce(&Self::Conn) -> Result<R>,
F: FnOnce(&Self::Conn) -> Result<R>,