[][src]Struct actix::fut::StreamTimeout

#[must_use = "streams do nothing unless polled"]
pub struct StreamTimeout<S> where
    S: ActorStream + Unpin
{ /* fields omitted */ }

Future for the timeout combinator, interrupts computations if it takes more than timeout.

This is created by the ActorFuture::timeout() method.

Trait Implementations

impl<S> ActorStream for StreamTimeout<S> where
    S: ActorStream + Unpin
[src]

type Item = Result<S::Item, ()>

The type of item this stream will yield on success.

type Actor = S::Actor

The actor within which this stream runs.

impl<S: Debug> Debug for StreamTimeout<S> where
    S: ActorStream + Unpin
[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for StreamTimeout<S>

impl<S> Send for StreamTimeout<S> where
    S: Send

impl<S> Sync for StreamTimeout<S> where
    S: Sync

impl<S> Unpin for StreamTimeout<S>

impl<S> !UnwindSafe for StreamTimeout<S>

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