Skip to main content

Module error

Module error 

Source
Expand description

Error types of the multi-producer, single-consumer channels.

They carry the unsent value back to the caller, so a failed send never loses it, and their Display text is the established one.

Structs§

SendError
Error returned by Sender::send, UnboundedSender::send and the other sends that wait.

Enums§

SendTimeoutError
Error returned by Sender::send_timeout: the value was not sent, and comes back.
TryRecvError
Error returned by Receiver::try_recv and UnboundedReceiver::try_recv.
TrySendError
Error returned by Sender::try_send and the other sends and reservations that never wait.