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