pub struct SelectRecvError;Expand description
An error returned from the Select::recv method.
This error occurs when the selection case doesn’t receive a message from the channel. Note that cases enumerated in a selection loop are sometimes simply skipped, so they might fail even if the channel is currently not empty.
Trait Implementations§
Source§impl Clone for SelectRecvError
impl Clone for SelectRecvError
Source§fn clone(&self) -> SelectRecvError
fn clone(&self) -> SelectRecvError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectRecvError
impl Debug for SelectRecvError
Source§impl Display for SelectRecvError
impl Display for SelectRecvError
Source§impl Error for SelectRecvError
impl Error for SelectRecvError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl PartialEq for SelectRecvError
impl PartialEq for SelectRecvError
impl Copy for SelectRecvError
impl Eq for SelectRecvError
impl StructuralPartialEq for SelectRecvError
Auto Trait Implementations§
impl Freeze for SelectRecvError
impl RefUnwindSafe for SelectRecvError
impl Send for SelectRecvError
impl Sync for SelectRecvError
impl Unpin for SelectRecvError
impl UnwindSafe for SelectRecvError
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