Struct ordered_stream::NextBefore [−][src]
pub struct NextBefore<'a, S> where
S: OrderedStream + ?Sized, { /* fields omitted */ }
Expand description
A future for the next_before
function.
Trait Implementations
impl<'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,
type Output = PollResult<S::Ordering, S::Data>
type Output = PollResult<S::Ordering, S::Data>
The type of value produced on completion.
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
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.