Skip to main content

Command

Trait Command 

Source
pub trait Command {
    // Required methods
    fn len(&self) -> usize;
    fn write(&self, out: &mut [u8]) -> Option<usize>;
}

Required Methods§

Source

fn len(&self) -> usize

Source

fn write(&self, out: &mut [u8]) -> Option<usize>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§