[][src]Enum stream_multiplexer::MultiplexerError

pub enum MultiplexerError<SE: Debug> {
    ChannelAdd(StreamIdChannelId),
    ChannelFull(ChannelId),
    DuplicateChannel(ChannelId),
    UnknownStream(StreamId),
    UnknownChannel(ChannelId),
    SendError(StreamId, SE),
}

Errors returned by Multiplexer.

Variants

ChannelAdd(StreamIdChannelId)

StreamId could not be added to ChannelId

ChannelFull(ChannelId)

The internal storage for streams in a channel is full.

DuplicateChannel(ChannelId)

ChannelId already exists and cannot be added again.

UnknownStream(StreamId)

StreamId is not recognized.

UnknownChannel(ChannelId)

ChannelId is not recognized.

SendError(StreamId, SE)

StreamId could not be sent to.

Trait Implementations

impl<SE: Debug> Debug for MultiplexerError<SE>[src]

impl<SE: Debug> Display for MultiplexerError<SE>[src]

impl<SE: Debug> Error for MultiplexerError<SE>[src]

Auto Trait Implementations

impl<SE> RefUnwindSafe for MultiplexerError<SE> where
    SE: RefUnwindSafe

impl<SE> Send for MultiplexerError<SE> where
    SE: Send

impl<SE> Sync for MultiplexerError<SE> where
    SE: Sync

impl<SE> Unpin for MultiplexerError<SE> where
    SE: Unpin

impl<SE> UnwindSafe for MultiplexerError<SE> where
    SE: UnwindSafe

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