pub enum RecvError {
Timeout,
Disconnected,
}
Variants§
Timeout
Timeout exceeded while waiting for a message from a channel.
Disconnected
The channel was disconnected or the fiber was cancelled while waiting for message from a channel.
Trait Implementations§
source§impl From<RecvError> for TryRecvError
impl From<RecvError> for TryRecvError
source§impl PartialEq for RecvError
impl PartialEq for RecvError
impl Copy for RecvError
impl Eq for RecvError
impl StructuralEq for RecvError
impl StructuralPartialEq for RecvError
Auto Trait Implementations§
impl RefUnwindSafe for RecvError
impl Send for RecvError
impl Sync for RecvError
impl Unpin for RecvError
impl UnwindSafe for RecvError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more