devela::_dep::crossterm

Trait QueueableCommand

pub trait QueueableCommand {
    // Required method
    fn queue(&mut self, command: impl Command) -> Result<&mut Self, Error> ;
}
Available on crate features dep_crossterm and std only.
Expand description

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

Required Methods§

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

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", so this trait is not object safe.

Implementors§

§

impl<T> QueueableCommand for T
where T: Write + ?Sized,