Module channel_loader::task [−][src]
Structs
CompletionReceipt | An acknowledgement of task completion as to enforce a design contract that allows ownership of requests to be taken by the task handler.
This is a workaround to rust-lang/rust#59337 that enables task assignment to occur within a |
LoadBatch | A batch of load requests, unique by key, to be loaded and the result resolved |
PendingAssignment | A handle for deferred task assignment via work-stealing. Task assignement is deferred until connection acquisition to allow for opportunistic batching to occur |
Task |
Enums
TaskAssignment | A conditional assignment of work as a |
Traits
TaskHandler | A type-state control flow for driving tasks from pre-assigning to conditional completion. As task-assignment can be deferred until connection acquisition and likewise load tasks can be batched by key, this enables opportunistic batching when connection acquisition becomes a bottleneck and also enables connection yielding as a consequence of work consolidation |