kvarn_async

Struct ReadToAsync

source
pub struct ReadToAsync<R>(/* private fields */);
Expand description

Helper struct for read_to_async.

Trait Implementations§

source§

impl<R: Read + Unpin> AsyncRead for ReadToAsync<R>

source§

fn poll_read( self: Pin<&mut Self>, _cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, ) -> Poll<Result<()>>

Attempts to read from the AsyncRead into buf. Read more
source§

impl<R: Debug> Debug for ReadToAsync<R>