pub struct Next<'a, St: ?Sized> {
    stream: &'a mut St,
    _pin: PhantomPinned,
}Expand description
Fields§
§stream: &'a mut St§_pin: PhantomPinnedImplementations§
Trait Implementations§
impl<'__pin, 'a, St: ?Sized> Unpin for Next<'a, St>where
    PinnedFieldsOf<__Origin<'__pin, 'a, St>>: Unpin,
Auto Trait Implementations§
impl<'a, St> Freeze for Next<'a, St>where
    St: ?Sized,
impl<'a, St> RefUnwindSafe for Next<'a, St>where
    St: RefUnwindSafe + ?Sized,
impl<'a, St> Send for Next<'a, St>
impl<'a, St> Sync for Next<'a, St>
impl<'a, St> !UnwindSafe for Next<'a, St>
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