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>
impl<'a, S> Debug for NextBefore<'a, S>
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,
source§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> Freeze for NextBefore<'a, S>where
S: ?Sized,
impl<'a, S> RefUnwindSafe for NextBefore<'a, S>
impl<'a, S> Send for NextBefore<'a, S>
impl<'a, S> Sync for NextBefore<'a, S>
impl<'a, S> !UnwindSafe for NextBefore<'a, S>
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