pub struct ReadFuture { /* private fields */ }Expand description
Future returned by read_into().
Resolves to (io::Result<usize>, BytesMut). On success buf.len() is
extended by the number of bytes read.
Trait Implementations§
Source§impl Drop for ReadFuture
impl Drop for ReadFuture
Source§impl Future for ReadFuture
impl Future for ReadFuture
Auto Trait Implementations§
impl Freeze for ReadFuture
impl RefUnwindSafe for ReadFuture
impl Send for ReadFuture
impl Sync for ReadFuture
impl Unpin for ReadFuture
impl UnsafeUnpin for ReadFuture
impl UnwindSafe for ReadFuture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more