Struct ordered_stream::Next
source · pub struct Next<'a, S: ?Sized> { /* private fields */ }
Expand description
A future for the next
function.
Trait Implementations§
source§impl<'a, S> Future for Next<'a, S>where
S: OrderedStream + ?Sized,
impl<'a, S> Future for Next<'a, S>where S: OrderedStream + ?Sized,
§type Output = Option<<S as OrderedStream>::Data>
type Output = Option<<S as OrderedStream>::Data>
The type of value produced on completion.
impl<'a, S: ?Sized> Unpin for Next<'a, S>
Auto Trait Implementations§
impl<'a, S: ?Sized> RefUnwindSafe for Next<'a, S>where S: RefUnwindSafe,
impl<'a, S: ?Sized> Send for Next<'a, S>where S: Send,
impl<'a, S: ?Sized> Sync for Next<'a, S>where S: Sync,
impl<'a, S> !UnwindSafe for Next<'a, S>
Blanket Implementations§
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