[−][src]Struct parallel_stream::FromStream
A parallel stream that was created from sequential stream.
This stream is created by the from_stream
function.
See it documentation for more.
Trait Implementations
impl<S: Clone> Clone for FromStream<S>
[src]
fn clone(&self) -> FromStream<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug> Debug for FromStream<S>
[src]
impl<S: Stream + Send + Sync + Unpin + 'static> ParallelStream for FromStream<S> where
S::Item: Send,
[src]
S::Item: Send,
type Item = S::Item
The type of items yielded by this stream.
fn poll_next(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Self::Item>>
fn limit(self, limit: impl Into<Option<usize>>) -> Self
[src]
fn get_limit(&self) -> Option<usize>
[src]
fn map<F, T, Fut>(self, f: F) -> Map<T> where
F: FnMut(Self::Item) -> Fut + Send + Sync + Copy + 'static,
T: Send + 'static,
Fut: Future<Output = T> + Send,
[src]
F: FnMut(Self::Item) -> Fut + Send + Sync + Copy + 'static,
T: Send + 'static,
Fut: Future<Output = T> + Send,
fn next(&mut self) -> NextFuture<'_, Self>
[src]
fn take(self, n: usize) -> Take<Self> where
Self: Sized,
[src]
Self: Sized,
fn for_each<F, Fut>(self, f: F) -> ForEachⓘ where
F: FnMut(Self::Item) -> Fut + Send + Sync + Copy + 'static,
Fut: Future<Output = ()> + Send,
[src]
F: FnMut(Self::Item) -> Fut + Send + Sync + Copy + 'static,
Fut: Future<Output = ()> + Send,
fn collect<'a, B>(self) -> Pin<Box<dyn Future<Output = B> + Send + 'a>> where
Self: Sized + 'a,
B: FromParallelStream<Self::Item>,
[src]
Self: Sized + 'a,
B: FromParallelStream<Self::Item>,
impl<'__pin, S> Unpin for FromStream<S> where
__Origin<'__pin, S>: Unpin,
[src]
__Origin<'__pin, S>: Unpin,
Auto Trait Implementations
impl<S> RefUnwindSafe for FromStream<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for FromStream<S> where
S: Send,
S: Send,
impl<S> Sync for FromStream<S> where
S: Sync,
S: Sync,
impl<S> UnwindSafe for FromStream<S> where
S: 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<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[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>,