Trait ctf_pwn::io::AsyncReadTimeoutExt
source · pub trait AsyncReadTimeoutExt: AsyncRead {
// Provided methods
fn read_exact_timeout<'a>(
&'a mut self,
buf: &'a mut [u8],
timeout: Duration
) -> ReadExactTimeout<'a, Self> ⓘ
where Self: Unpin { ... }
fn read_timeout<'a>(
&'a mut self,
buf: &'a mut [u8],
timeout: Duration
) -> ReadTimeout<'a, Self> ⓘ
where Self: Unpin { ... }
fn read_to_end_timeout<'a>(
&'a mut self,
_buf: &'a mut Vec<u8>,
_timeout: Duration
)
where Self: Unpin { ... }
fn read_to_string_timeout<'a>(
&'a mut self,
_dst: &'a mut String,
_timeout: Duration
)
where Self: Unpin { ... }
}
Provided Methods§
fn read_exact_timeout<'a>(
&'a mut self,
buf: &'a mut [u8],
timeout: Duration
) -> ReadExactTimeout<'a, Self> ⓘwhere
Self: Unpin,
fn read_timeout<'a>(
&'a mut self,
buf: &'a mut [u8],
timeout: Duration
) -> ReadTimeout<'a, Self> ⓘwhere
Self: Unpin,
fn read_to_end_timeout<'a>(
&'a mut self,
_buf: &'a mut Vec<u8>,
_timeout: Duration
)where
Self: Unpin,
fn read_to_string_timeout<'a>(
&'a mut self,
_dst: &'a mut String,
_timeout: Duration
)where
Self: Unpin,
Object Safety§
This trait is not object safe.