Struct actix::fut::stream::TakeWhile[][src]

#[must_use = "streams do nothing unless polled"]pub struct TakeWhile<S, I, F, Fut> { /* fields omitted */ }

Stream for the take_while method.

Trait Implementations

impl<S, A, F, Fut> ActorStream<A> for TakeWhile<S, S::Item, F, Fut> where
    S: ActorStream<A>,
    A: Actor,
    F: FnMut(&S::Item, &mut A, &mut A::Context) -> Fut,
    Fut: ActorFuture<A, Output = bool>, 
[src]

type Item = S::Item

The type of item this stream will yield on success.

impl<S: Debug, I: Debug, F: Debug, Fut: Debug> Debug for TakeWhile<S, I, F, Fut>[src]

impl<'__pin, S, I, F, Fut> Unpin for TakeWhile<S, I, F, Fut> where
    __Origin<'__pin, S, I, F, Fut>: Unpin
[src]

Auto Trait Implementations

impl<S, I, F, Fut> RefUnwindSafe for TakeWhile<S, I, F, Fut> where
    F: RefUnwindSafe,
    Fut: RefUnwindSafe,
    I: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, I, F, Fut> Send for TakeWhile<S, I, F, Fut> where
    F: Send,
    Fut: Send,
    I: Send,
    S: Send

impl<S, I, F, Fut> Sync for TakeWhile<S, I, F, Fut> where
    F: Sync,
    Fut: Sync,
    I: Sync,
    S: Sync

impl<S, I, F, Fut> UnwindSafe for TakeWhile<S, I, F, Fut> where
    F: UnwindSafe,
    Fut: UnwindSafe,
    I: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<A, S> ActorStreamExt<A> for S where
    A: Actor,
    S: ActorStream<A>, 
[src]

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, 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.