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

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

Stream for the take_while method.

Trait Implementations

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

type Item = S::Item

The type of item this stream will yield on success.

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

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

Auto Trait Implementations

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

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

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

impl<S, I, Fut, Fn> UnwindSafe for TakeWhile<S, I, Fut, Fn> where
    Fn: 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.