pub struct Manager { /* private fields */ }
Expand description

Manager for worker threads

Manager attempts to restart workers as their arbiters die

Implementations

Retrieve the QueueHandle for the managed workers

Methods from Deref<Target = QueueHandle>

Queues a job for execution

This job will be sent to the server for storage, and will execute whenever a worker for the job’s queue is free to do so.

Schedule a job for execution later

This job will be sent to the server for storage, and will execute after the specified time and when a worker for the job’s queue is free to do so.

Queues a job for recurring execution

This job will be added to it’s queue on the server once every Duration. It will be processed whenever workers are free to do so.

Return an overview of the processor’s statistics

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more