[][src]Struct multiqueue2::BroadcastFutSender

pub struct BroadcastFutSender<T: Clone> { /* fields omitted */ }

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

Methods

impl<T: Clone> BroadcastFutSender<T>[src]

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

Equivalent to BroadcastSender::try_send

pub fn unsubscribe(self)[src]

Equivalent to BroadcastSender::unsubscribe

Trait Implementations

impl<T: Clone> Clone for BroadcastFutSender<T>[src]

impl<'_, T: Clone> Sink for &'_ BroadcastFutSender<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: Clone> Sink for BroadcastFutSender<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

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

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

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