pub struct ReadBuf<'a, R: ?Sized, B: ?Sized> {
reader: &'a mut R,
buf: &'a mut B,
_pin: PhantomPinned,
}
Expand description
Future returned by read_buf
.
Fields§
§reader: &'a mut R
§buf: &'a mut B
§_pin: PhantomPinned
Trait Implementations§
impl<'__pin, 'a, R: ?Sized, B: ?Sized> Unpin for ReadBuf<'a, R, B>where
PinnedFieldsOf<__Origin<'__pin, 'a, R, B>>: Unpin,
Auto Trait Implementations§
impl<'a, R, B> Freeze for ReadBuf<'a, R, B>
impl<'a, R, B> RefUnwindSafe for ReadBuf<'a, R, B>
impl<'a, R, B> Send for ReadBuf<'a, R, B>
impl<'a, R, B> Sync for ReadBuf<'a, R, B>
impl<'a, R, B> !UnwindSafe for ReadBuf<'a, R, B>
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