Struct sidekiq::Client [] [src]

pub struct Client {
    pub pool: RedisPool,
    pub namespace: Option<String>,
}

Fields

pool: RedisPool namespace: Option<String>

Methods

impl Client
[src]

fn new(pool: RedisPool, opts: ClientOpts) -> Client

fn push(&self, job: Job) -> RedisResult<Job>