pub struct WriteFuture { /* private fields */ }Expand description
Future returned by write_from().
Resolves to (io::Result<usize>, BytesMut). The buffer is returned
unchanged regardless of success or failure.
Trait Implementations§
Source§impl Drop for WriteFuture
impl Drop for WriteFuture
Source§impl Future for WriteFuture
impl Future for WriteFuture
Auto Trait Implementations§
impl Freeze for WriteFuture
impl RefUnwindSafe for WriteFuture
impl Send for WriteFuture
impl Sync for WriteFuture
impl Unpin for WriteFuture
impl UnsafeUnpin for WriteFuture
impl UnwindSafe for WriteFuture
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