Struct tokio_stream::stream_ext::next::Next
source · pub struct Next<'a, St: ?Sized> {
stream: &'a mut St,
_pin: PhantomPinned,
}
Expand description
Fields§
§stream: &'a mut St
§_pin: PhantomPinned
Implementations§
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,
§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