pub enum RecvErr {
NoMessage,
NoSender,
}
Expand description
The error of Receiver::recv
operation.
Variants
NoMessage
Returned when there are no messages, the channel is empty, but there are still senders connected.
NoSender
Returned when all senders were disconnected.
Trait Implementations
impl Copy for RecvErr
impl Eq for RecvErr
impl StructuralEq for RecvErr
impl StructuralPartialEq for RecvErr
Auto Trait Implementations
impl RefUnwindSafe for RecvErr
impl Send for RecvErr
impl Sync for RecvErr
impl Unpin for RecvErr
impl UnwindSafe for RecvErr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more