pub trait AsyncWriteWithTimeoutExt: AsyncWrite {
    // Provided method
    fn write_with_timeout<'a, SLEEP: Sleepble>(
        &'a mut self,
        buf: &'a [u8],
        dur: Duration
    ) -> WriteWithTimeout<'a, Self> 
       where Self: Unpin { ... }
}

Provided Methods§

source

fn write_with_timeout<'a, SLEEP: Sleepble>( &'a mut self, buf: &'a [u8], dur: Duration ) -> WriteWithTimeout<'a, Self> where Self: Unpin,

Implementors§

source§

impl<W: AsyncWrite + ?Sized> AsyncWriteWithTimeoutExt for W