[][src]Enum futures_intrusive::channel::TryReceiveError

pub enum TryReceiveError {
    Empty,
    Closed,
}

The error which is returned when trying to receive from a channel without waiting fails.

Variants

Empty

The channel is empty. No value is available for reception.

Closed

The channel had been closed and no more value is available for reception.

Implementations

impl TryReceiveError[src]

pub fn is_empty(self) -> bool[src]

Returns whether the error is the Empty variant.

pub fn is_closed(self) -> bool[src]

Returns whether the error is the Closed variant.

Trait Implementations

impl Clone for TryReceiveError[src]

impl Copy for TryReceiveError[src]

impl Debug for TryReceiveError[src]

impl PartialEq<TryReceiveError> for TryReceiveError[src]

impl StructuralPartialEq for TryReceiveError[src]

Auto Trait Implementations

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