[][src]Struct amadeus_core::par_stream::Filter

#[must_use]pub struct Filter<I, F> { /* fields omitted */ }

Implementations

impl<I, F> Filter<I, F>[src]

pub fn new(i: I, f: F) -> Self[src]

Constructs a new Filter.

Trait Implementations

impl<I: ParallelPipe<Source>, F, Source> DistributedPipe<Source> for Filter<I, F> where
    F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static, 
[src]

type Item = I::Item

type Task = FilterTask<I::Task, F>

impl<I: ParallelStream, F> DistributedStream for Filter<I, F> where
    F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static, 
[src]

type Item = I::Item

type Task = FilterTask<I::Task, F>

impl<I: ParallelPipe<Source>, F, Source> ParallelPipe<Source> for Filter<I, F> where
    F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static, 
[src]

type Item = I::Item

type Task = FilterTask<I::Task, F>

impl<I: ParallelStream, F> ParallelStream for Filter<I, F> where
    F: for<'a> FnMut<(&'a I::Item,), Output = bool> + Clone + Send + 'static, 
[src]

type Item = I::Item

type Task = FilterTask<I::Task, F>

Auto Trait Implementations

impl<I, F> RefUnwindSafe for Filter<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, F> Send for Filter<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for Filter<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for Filter<I, F> where
    F: Unpin,
    I: Unpin

impl<I, F> UnwindSafe for Filter<I, F> where
    F: UnwindSafe,
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoDistributedStream for T where
    T: DistributedStream
[src]

impl<T> IntoParallelStream for T where
    T: ParallelStream
[src]

type ParStream = T

type Item = <T as ParallelStream>::Item

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,