pub struct PendingAssignment<T: TaskQueue, const N: usize = 2048>where
    Int<N>: IsPowerOf2,
{ /* private fields */ }
Expand description

The responsibilty to process a yet to be assigned set of tasks on the queue. Once converted into a TaskAssignment the task range responsible for processing will be bounded and further tasks enqueued will be of a new batch. Assignment of a task range can be deferred until resources such as database connections are ready as a way to process tasks in larger batches.

Implementations

Trait Implementations

Executes the destructor for this type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more
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.