[][src]Struct futures::unsync::mpsc::SpawnHandle

pub struct SpawnHandle<Item, Error> { /* fields omitted */ }

Handle returned from the spawn function.

This handle is a stream that proxies a stream on a separate Executor. Created through the mpsc::spawn function, this handle will produce the same values as the proxied stream, as they are produced in the executor, and uses a limited buffer to exert back-pressure on the remote stream.

If this handle is dropped, then the stream will no longer be polled and is scheduled to be dropped.

Trait Implementations

impl<I, E> Stream for SpawnHandle<I, E>[src]

type Item = I

The type of item this stream will yield on success.

type Error = E

The type of error this stream may generate.

impl<I, E> Debug for SpawnHandle<I, E>[src]

Auto Trait Implementations

impl<Item, Error> Unpin for SpawnHandle<Item, Error> where
    Error: Unpin,
    Item: Unpin

impl<Item, Error> !Send for SpawnHandle<Item, Error>

impl<Item, Error> !Sync for SpawnHandle<Item, Error>

impl<Item, Error> !UnwindSafe for SpawnHandle<Item, Error>

impl<Item, Error> !RefUnwindSafe for SpawnHandle<Item, Error>

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]