Skip to main content

QueueableCommand

Trait QueueableCommand 

Source
pub trait QueueableCommand {
    // Required method
    fn queue(&mut self, command: impl Command) -> Result<&mut Self>;
}
Expand description

An interface for types that can queue commands for further execution.

Required Methods§

Source

fn queue(&mut self, command: impl Command) -> Result<&mut Self>

Queues the given command for further execution.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§