Struct channel_loader::task::CompletionReceipt[][src]

pub struct CompletionReceipt<T: TaskHandler> { /* fields omitted */ }
Expand description

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 tokio::task::spawn_blocking closure

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.

Performs the conversion.

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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.