Skip to main content

QueuedOperation

Trait QueuedOperation 

Source
pub trait QueuedOperation: Debug {
    // Required method
    async fn perform(&self);
}
Expand description

An operation that can be added to an OperationQueue.

Required Methods§

Source

async fn perform(&self)

Performs the operation asynchronously.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§