Update

Trait Update 

Source
pub trait Update: Backend {
    // Required method
    fn update(
        &mut self,
        task: Task<Self::Args, Self::Context, Self::IdType>,
    ) -> impl Future<Output = Result<(), Self::Error>> + Send;
}
Expand description

Allows updating an existing task

Required Methods§

Source

fn update( &mut self, task: Task<Self::Args, Self::Context, Self::IdType>, ) -> impl Future<Output = Result<(), Self::Error>> + Send

Update the given task

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§