pub trait AsyncTask: ArcWake {
    type Out;

    fn get_inner(&self) -> Option<BoxFuture<'static, Self::Out>>;
    fn set_inner(&self, inner: Option<BoxFuture<'static, Self::Out>>);
}
Expand description

异步任务

Required Associated Types

Required Methods

获取内部任务

设置内部任务

Implementors