Trait async_sleep::rw::AsyncWriteWithTimeoutExt
source · 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 { ... }
}