[][src]Struct amadeus_core::pipe::Filter

pub struct Filter<P, F> { /* fields omitted */ }

Implementations

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

pub fn new(pipe: P, f: F) -> Self[src]

Constructs a new Filter.

Trait Implementations

impl<P, F> PinnedDrop for Filter<P, F>[src]

impl<P: Pipe<Input>, F, Input> Pipe<Input> for Filter<P, F> where
    F: for<'a> FnMut<(&'a P::Output,), Output = bool>, 
[src]

type Output = P::Output

impl<P: Stream, F> Stream for Filter<P, F> where
    F: for<'a> FnMut<(&'a P::Item,), Output = bool>, 
[src]

type Item = P::Item

Values yielded by the stream.

impl<'pin, P, F> Unpin for Filter<P, F> where
    __Filter<'pin, P, F>: Unpin
[src]

impl<P, F> UnsafeUnpin for Filter<P, F>[src]

Auto Trait Implementations

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

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

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

impl<P, F> UnwindSafe for Filter<P, F> where
    F: UnwindSafe,
    P: 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<S> StreamExt for S where
    S: Stream + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

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<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized
[src]

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