pub trait AsyncReadWithTimeoutExt: AsyncRead {
    fn read_with_timeout<'a, SLEEP: Sleepble>(
        &'a mut self,
        buf: &'a mut [u8],
        dur: Duration
    ) -> ReadWithTimeout<'a, Self>
    where
        Self: Unpin
, { ... } }

Provided Methods§

Implementors§