OutputStream

Trait OutputStream 

Source
pub trait OutputStream {
    // Required methods
    fn chunk_size(&self) -> NumBytes;
    fn channel_capacity(&self) -> usize;
    fn name(&self) -> &'static str;
}
Expand description

Required Methods§

Source

fn chunk_size(&self) -> NumBytes

The maximum size of every chunk read by the backing stream_reader.

Source

fn channel_capacity(&self) -> usize

The number of chunks held by the underlying async channel.

Source

fn name(&self) -> &'static str

Type of stream. Can be “stdout” or “stderr”. But we do not guarantee this output. It should only be used for logging/debugging.

Implementors§