Struct tokio::io::Repeat [−][src]
pub struct Repeat { /* fields omitted */ }An async reader which yields one byte over and over and over and over and over and…
This struct is generally created by calling repeat. Please
see the documentation of repeat() for more details.
This is an asynchronous version of std::io::Repeat.
Trait Implementations
impl AsyncRead for Repeat[src]
impl AsyncRead for Repeat[src]unsafe fn prepare_uninitialized_buffer(
&self,
_buf: &mut [MaybeUninit<u8>]
) -> bool[src]
&self,
_buf: &mut [MaybeUninit<u8>]
) -> bool
fn poll_read(
self: Pin<&mut Self>,
_: &mut Context<'_>,
buf: &mut [u8]
) -> Poll<Result<usize>>[src]
self: Pin<&mut Self>,
_: &mut Context<'_>,
buf: &mut [u8]
) -> Poll<Result<usize>>
fn poll_read_buf<B: BufMut>(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &mut B
) -> Poll<Result<usize>> where
Self: Sized, [src]
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &mut B
) -> Poll<Result<usize>> where
Self: Sized,