Trait Stream

Source
pub trait Stream {
    // Required method
    fn stream(&self, read: &mut impl Read, write: &mut impl Write) -> Result<()>;
}

Required Methods§

Source

fn stream(&self, read: &mut impl Read, write: &mut impl Write) -> Result<()>

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§