[][src]Struct amadeus::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) -> Filter<I, F>[src]

Constructs a new Filter.

Trait Implementations

impl<I, F, Fut, Source> DistributedPipe<Source> for Filter<I, F> where
    F: FnMut(&<I as DistributedPipe<Source>>::Item) -> Fut + Clone + ProcessSend + 'static,
    Fut: Future<Output = bool>,
    I: DistributedPipe<Source>, 
[src]

type Item = <I as DistributedPipe<Source>>::Item

type Task = FilterTask<<I as DistributedPipe<Source>>::Task, F>

impl<I, F, Fut> DistributedStream for Filter<I, F> where
    F: FnMut(&<I as DistributedStream>::Item) -> Fut + Clone + ProcessSend + 'static,
    Fut: Future<Output = bool>,
    I: DistributedStream
[src]

type Item = <I as DistributedStream>::Item

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

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

type Item = <I as ParallelPipe<Source>>::Item

type Task = FilterTask<<I as ParallelPipe<Source>>::Task, F>

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

type Item = <I as ParallelStream>::Item

type Task = FilterTask<<I as ParallelStream>::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, U> Cast<U> for T where
    U: FromCast<T>, 

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

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

type DistStream = T

type Item = <T as DistributedStream>::Item

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

type ParStream = T

type Item = <T as ParallelStream>::Item

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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

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