[][src]Enum secc::SeccErrors

pub enum SeccErrors<T: Sync + Send + Clone> {
    Full(T),
    Empty,
}

Errors potentially returned from channel operations.

Variants

Full(T)

Channel is full, no more messages can be sent, the enclosed message contains the last message attempted to be sent.

Empty

Channel is empty so no more messages can be received. This can also be returned if there is an active cursor and there are no messages to receive after the cursor even though there are skipped messages.

Trait Implementations

impl<T: Eq + Sync + Send + Clone> Eq for SeccErrors<T>[src]

impl<T: PartialEq + Sync + Send + Clone> PartialEq<SeccErrors<T>> for SeccErrors<T>[src]

impl<T: Sync + Send + Clone> Debug for SeccErrors<T>[src]

impl<T: Sync + Send + Clone> Display for SeccErrors<T>[src]

impl<T: Sync + Send + Clone> Error for SeccErrors<T>[src]

Auto Trait Implementations

impl<T> Send for SeccErrors<T>

impl<T> Unpin for SeccErrors<T> where
    T: Unpin

impl<T> Sync for SeccErrors<T>

impl<T> UnwindSafe for SeccErrors<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for SeccErrors<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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]