Struct cyfs_task_manager::RunnableTask
source · [−]pub struct RunnableTask<R: Runnable> { /* private fields */ }Implementations
sourceimpl<R: Runnable> RunnableTask<R>
impl<R: Runnable> RunnableTask<R>
Trait Implementations
sourceimpl<R: 'static + Runnable> Task for RunnableTask<R>
impl<R: 'static + Runnable> Task for RunnableTask<R>
fn get_task_id(&self) -> TaskId
fn get_task_type(&self) -> TaskType
fn get_task_category(&self) -> TaskCategory
fn need_persist(&self) -> bool
fn get_task_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = TaskStatus> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn set_task_store<'life0, 'async_trait>(
&'life0 mut self,
task_store: Arc<dyn TaskStore>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn start_task<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn pause_task<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn stop_task<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn check_and_waiting_stop<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_task_detail_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = BuckyResult<Vec<u8>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<R> RefUnwindSafe for RunnableTask<R>where
R: RefUnwindSafe,
impl<R> Send for RunnableTask<R>
impl<R> Sync for RunnableTask<R>
impl<R> Unpin for RunnableTask<R>
impl<R> UnwindSafe for RunnableTask<R>where
R: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more