Skip to main content

StopStreamExt

Trait StopStreamExt 

Source
pub trait StopStreamExt: StopStream {
    // Provided method
    fn stop(&mut self, code: VarInt) -> Stop<&mut Self>  { ... }
}

Provided Methods§

Source

fn stop(&mut self, code: VarInt) -> Stop<&mut Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> StopStreamExt for T
where T: StopStream + ?Sized,