[−][src]Struct smol::stream::PartitionFuture
Future for the StreamExt::partition()
method.
Trait Implementations
impl<S, P, B> Debug for PartitionFuture<S, P, B> where
B: Debug,
P: Debug,
S: Debug,
[src]
B: Debug,
P: Debug,
S: Debug,
impl<S, P, B> Future for PartitionFuture<S, P, B> where
B: Default + Extend<<S as Stream>::Item>,
P: FnMut(&<S as Stream>::Item) -> bool,
S: Stream,
[src]
B: Default + Extend<<S as Stream>::Item>,
P: FnMut(&<S as Stream>::Item) -> bool,
S: Stream,
type Output = (B, B)
The type of value produced on completion.
fn poll(
self: Pin<&mut PartitionFuture<S, P, B>>,
cx: &mut Context<'_>
) -> Poll<<PartitionFuture<S, P, B> as Future>::Output>
[src]
self: Pin<&mut PartitionFuture<S, P, B>>,
cx: &mut Context<'_>
) -> Poll<<PartitionFuture<S, P, B> as Future>::Output>
impl<'__pin, S, P, B> Unpin for PartitionFuture<S, P, B> where
__Origin<'__pin, S, P, B>: Unpin,
[src]
__Origin<'__pin, S, P, B>: Unpin,
Auto Trait Implementations
impl<S, P, B> RefUnwindSafe for PartitionFuture<S, P, B> where
B: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
B: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, P, B> Send for PartitionFuture<S, P, B> where
B: Send,
P: Send,
S: Send,
B: Send,
P: Send,
S: Send,
impl<S, P, B> Sync for PartitionFuture<S, P, B> where
B: Sync,
P: Sync,
S: Sync,
B: Sync,
P: Sync,
S: Sync,
impl<S, P, B> UnwindSafe for PartitionFuture<S, P, B> where
B: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
B: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<F> FutureExt for F where
F: Future + ?Sized,
[src]
F: Future + ?Sized,
fn poll(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output> where
Self: Unpin,
[src]
Self: Unpin,
fn or<F>(self, other: F) -> Or<Self, F>ⓘ where
F: Future<Output = Self::Output>,
[src]
F: Future<Output = Self::Output>,
fn race<F>(self, other: F) -> Race<Self, F>ⓘ where
F: Future<Output = Self::Output>,
[src]
F: Future<Output = Self::Output>,
fn catch_unwind(self) -> CatchUnwind<Self>ⓘNotable traits for CatchUnwind<F>
impl<F> Future for CatchUnwind<F> where
F: UnwindSafe + Future, type Output = Result<<F as Future>::Output, Box<dyn Any + 'static + Send>>;
where
Self: UnwindSafe,
[src]
Notable traits for CatchUnwind<F>
impl<F> Future for CatchUnwind<F> where
F: UnwindSafe + Future, type Output = Result<<F as Future>::Output, Box<dyn Any + 'static + Send>>;
Self: UnwindSafe,
fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send>>ⓘ where
Self: Send + 'a,
[src]
Self: Send + 'a,
fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>>ⓘ where
Self: 'a,
[src]
Self: 'a,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
fn into_future(self) -> <F as IntoFuture>::Future
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,