pub enum StochasticMpmcRecvError {
NoSenders,
}
Expand description
Errors that could occur when receiving an item from a stochastic channel.
Variants§
NoSenders
Trait Implementations§
Source§impl Clone for StochasticMpmcRecvError
impl Clone for StochasticMpmcRecvError
Source§fn clone(&self) -> StochasticMpmcRecvError
fn clone(&self) -> StochasticMpmcRecvError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StochasticMpmcRecvError
impl Debug for StochasticMpmcRecvError
Source§impl Display for StochasticMpmcRecvError
impl Display for StochasticMpmcRecvError
Source§impl Error for StochasticMpmcRecvError
impl Error for StochasticMpmcRecvError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for StochasticMpmcRecvError
impl PartialEq for StochasticMpmcRecvError
Source§fn eq(&self, other: &StochasticMpmcRecvError) -> bool
fn eq(&self, other: &StochasticMpmcRecvError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for StochasticMpmcRecvError
impl Eq for StochasticMpmcRecvError
impl StructuralPartialEq for StochasticMpmcRecvError
Auto Trait Implementations§
impl Freeze for StochasticMpmcRecvError
impl RefUnwindSafe for StochasticMpmcRecvError
impl Send for StochasticMpmcRecvError
impl Sync for StochasticMpmcRecvError
impl Unpin for StochasticMpmcRecvError
impl UnwindSafe for StochasticMpmcRecvError
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