[][src]Struct multiqueue2::MPMCFutSender

pub struct MPMCFutSender<T> { /* fields omitted */ }

This is the futures-compatible version of MPMCSender It implements Sink

Implementations

impl<T> MPMCFutSender<T>[src]

pub fn try_send(&self, val: T) -> Result<(), TrySendError<T>>[src]

Equivalent to MPMCSender::try_send

pub fn unsubscribe(self)[src]

Equivalent to MPMCSender::unsubscribe

Trait Implementations

impl<T> Clone for MPMCFutSender<T>[src]

impl<T, '_> Sink for &'_ MPMCFutSender<T>[src]

type SinkItem = T

The type of value that the sink accepts.

type SinkError = SendError<T>

The type of value produced by the sink when an error occurs.

impl<T> Sink for MPMCFutSender<T>[src]

type SinkItem = T

The type of value that the sink accepts.

type SinkError = SendError<T>

The type of value produced by the sink when an error occurs.

Auto Trait Implementations

impl<T> !RefUnwindSafe for MPMCFutSender<T>[src]

impl<T> Send for MPMCFutSender<T> where
    T: Send
[src]

impl<T> !Sync for MPMCFutSender<T>[src]

impl<T> Unpin for MPMCFutSender<T>[src]

impl<T> !UnwindSafe for MPMCFutSender<T>[src]

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> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.