Skip to main content

Write

Trait Write 

Source
pub trait Write: Send {
    // Required method
    fn write<'a>(
        &'a mut self,
        buf: &'a [u8],
    ) -> BoxedFuture<'a, Result<NonZeroUsize, BoxedError<'static>>>;
}

Required Methods§

Source

fn write<'a>( &'a mut self, buf: &'a [u8], ) -> BoxedFuture<'a, Result<NonZeroUsize, BoxedError<'static>>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<X> Write for X
where X: Write,