Enum any_mpsc::BufRecvError[][src]

pub enum BufRecvError {
    RecvError(RecvError),
    RecvTimeoutError(RecvTimeoutError),
    TryRecvError(TryRecvError),
    WrongType(TypeId),
    EmptyBuffer,
}
Expand description

Error type for receievers. If an mpsc error occurs, it will be wrapped by an appropriate wrapper variant. If receiver is supplied an incorrect type, a [BufRecvError::WrongType(TypeId)] will be returned and the result will be stored in a buffer. If BufferedReceiver::recv_buf is called with an empty buffer, EmptyBuffer will be returned

Variants

RecvError(RecvError)
RecvTimeoutError(RecvTimeoutError)
TryRecvError(TryRecvError)
WrongType(TypeId)
EmptyBuffer

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.