Skip to main content

Output

Trait Output 

Source
pub trait Output {
    // Required methods
    fn output(&self) -> &[u8] ⓘ;
    fn consume_output(&mut self, count: usize) -> Result<()>;
}
Expand description

Core-owned wire output. Acknowledged only after a successful complete flush.

Required Methods§

Source

fn output(&self) -> &[u8] ⓘ

Source

fn consume_output(&mut self, count: usize) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§