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
sourceimpl<'a, S: Debug> Debug for NextBefore<'a, S> where
S: OrderedStream + ?Sized,
S::Ordering: Debug,
impl<'a, S: Debug> Debug for NextBefore<'a, S> where
S: OrderedStream + ?Sized,
S::Ordering: Debug,
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more