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
impl<T> RefUnwindSafe for CompletionReceipt<T>
impl<T> Send for CompletionReceipt<T>
impl<T> Sync for CompletionReceipt<T>
impl<T> Unpin for CompletionReceipt<T>
impl<T> UnwindSafe for CompletionReceipt<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]Convert &self
to an expression for Diesel’s query builder. Read more