Trait WriteExt

Source
pub trait WriteExt: Write {
    // Provided methods
    fn write<'a>(&'a mut self, bytes: &'a [u8]) -> Write<'a, Self> 
       where Self: Unpin { ... }
    fn write_all<'a>(&'a mut self, bytes: &'a [u8]) -> WriteAll<'a, Self> 
       where Self: Unpin { ... }
    fn shutdown(&mut self) -> Shutdown<'_, Self> 
       where Self: Unpin { ... }
}

Provided Methods§

Source

fn write<'a>(&'a mut self, bytes: &'a [u8]) -> Write<'a, Self>
where Self: Unpin,

Source

fn write_all<'a>(&'a mut self, bytes: &'a [u8]) -> WriteAll<'a, Self>
where Self: Unpin,

Source

fn shutdown(&mut self) -> Shutdown<'_, Self>
where Self: Unpin,

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§

Source§

impl<A> WriteExt for A
where A: WriteExt,