Trait IntoTask

Source
pub trait IntoTask {
    type Task: Task;

    // Required method
    fn into_task(self) -> Self::Task;
}
Expand description

A trait for objects that can be converted into a Task

Required Associated Types§

Required Methods§

Source

fn into_task(self) -> Self::Task

Convert self into a Task

Implementations on Foreign Types§

Source§

impl<S, D, B> IntoTask for TxSender<S, D, B>
where S: TxSenderSigner + 'static, D: TxSenderDatabase + Clone + 'static, B: TxSenderTxBuilder + 'static,

Source§

type Task = TxSenderTask<S, D, B>

Source§

fn into_task(self) -> Self::Task

Implementors§