[][src]Struct actix_redis_jobs::QueueActor

pub struct QueueActor { /* fields omitted */ }

Actix Scheduler queue actor.

Methods

impl QueueActor[src]

pub async fn new(redis_url: &'static str, queue: Queue) -> Self[src]

Create new Redis queue actor instance.

Trait Implementations

impl Actor for QueueActor[src]

Implementation actix Actor trait for Redis queue.

type Context = Context<Self>

Actor execution context type

impl Handler<AckJob> for QueueActor[src]

Implementation of Actix Handler for Get message.

type Result = ResponseFuture<Result<Option<bool>, Error>>

The type of value that this handler will return.

impl Handler<EnqueueJobs> for QueueActor[src]

Implementation of Actix Handler for enqueue scheduled jobs

type Result = ResponseFuture<Result<i8, Error>>

The type of value that this handler will return.

impl Handler<FetchJobs> for QueueActor[src]

Implementation of Actix Handler fetching jobs.

type Result = ResponseFuture<Result<Vec<Value>, Error>>

The type of value that this handler will return.

impl Handler<KillJob> for QueueActor[src]

Implementation of Actix Handler for killing jobs

type Result = ResponseFuture<Result<Option<i8>, Error>>

The type of value that this handler will return.

impl Handler<PushJob> for QueueActor[src]

Implementation of Actix Handler to push job.

type Result = ResponseFuture<Result<JobStatus, Error>>

The type of value that this handler will return.

impl Handler<ReenqueueActive> for QueueActor[src]

Implementation of Actix Handler for Reenqueueing active jobs

type Result = ResponseFuture<Result<Option<bool>, Error>>

The type of value that this handler will return.

impl Handler<ReenqueueOrphaned> for QueueActor[src]

Implementation of Actix Handler for Reenqueueing active jobs

type Result = ResponseFuture<Result<Option<i8>, Error>>

The type of value that this handler will return.

impl Handler<RegisterConsumer> for QueueActor[src]

Implementation of Actix Handler for killing jobs

type Result = ResponseFuture<Result<Option<bool>, Error>>

The type of value that this handler will return.

impl Handler<RetryJob> for QueueActor[src]

Implementation of Actix Handler for retrying jobs

type Result = ResponseFuture<Result<Option<i8>, Error>>

The type of value that this handler will return.

impl Handler<ScheduleJob> for QueueActor[src]

Implementation of Actix Handler for scheduling a message.

type Result = ResponseFuture<Result<JobStatus, Error>>

The type of value that this handler will return.

impl Supervised for QueueActor[src]

Auto Trait Implementations

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,