[][src]Struct futures_intrusive::channel::shared::ChannelReceiveFuture

#[must_use = "futures do nothing unless polled"]pub struct ChannelReceiveFuture<MutexType, T> { /* fields omitted */ }

A Future that is returned by the receive function on a channel. The future gets resolved with Some(value) when a value could be received from the channel. If the channels gets closed and no items are still enqueued inside the channel, the future will resolve to None.

Trait Implementations

impl<MutexType, T> Debug for ChannelReceiveFuture<MutexType, T>[src]

impl<MutexType, T> Drop for ChannelReceiveFuture<MutexType, T>[src]

impl<MutexType, T> FusedFuture for ChannelReceiveFuture<MutexType, T>[src]

impl<MutexType, T> Future for ChannelReceiveFuture<MutexType, T>[src]

type Output = Option<T>

The type of value produced on completion.

impl<MutexType: Sync, T: Send> Send for ChannelReceiveFuture<MutexType, T>[src]

Auto Trait Implementations

impl<MutexType, T> !RefUnwindSafe for ChannelReceiveFuture<MutexType, T>

impl<MutexType, T> !Sync for ChannelReceiveFuture<MutexType, T>

impl<MutexType, T> !Unpin for ChannelReceiveFuture<MutexType, T>

impl<MutexType, T> !UnwindSafe for ChannelReceiveFuture<MutexType, T>

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.