Struct grafix_toolbox::asyn::stream::PartitionFuture
source · pub struct PartitionFuture<S, P, B> { /* private fields */ }Expand description
Future for the StreamExt::partition() method.
Trait Implementations§
source§impl<S, P, B> Debug for PartitionFuture<S, P, B>
impl<S, P, B> Debug for PartitionFuture<S, P, B>
source§impl<S, P, B> Future for PartitionFuture<S, P, B>
impl<S, P, B> Future for PartitionFuture<S, P, B>
impl<'__pin, S, P, B> Unpin for PartitionFuture<S, P, B>where
__Origin<'__pin, S, P, B>: Unpin,
Auto Trait Implementations§
impl<S, P, B> Freeze for PartitionFuture<S, P, B>
impl<S, P, B> RefUnwindSafe for PartitionFuture<S, P, B>
impl<S, P, B> Send for PartitionFuture<S, P, B>
impl<S, P, B> Sync for PartitionFuture<S, P, B>
impl<S, P, B> UnwindSafe for PartitionFuture<S, P, B>
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> FutureExt for F
impl<F> FutureExt for F
source§fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
Catches panics while polling the future. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.