pub enum TryRxError {
Closed,
Empty,
}Expand description
Error returned when trying to receive a message using an Rx.
Variants§
Trait Implementations§
Source§impl Clone for TryRxError
impl Clone for TryRxError
Source§fn clone(&self) -> TryRxError
fn clone(&self) -> TryRxError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TryRxError
Source§impl Debug for TryRxError
impl Debug for TryRxError
Source§impl Display for TryRxError
impl Display for TryRxError
impl Eq for TryRxError
Source§impl Error for TryRxError
impl Error for TryRxError
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 From<TryRecvError> for TryRxError
impl From<TryRecvError> for TryRxError
Source§fn from(e: TryRecvError) -> Self
fn from(e: TryRecvError) -> Self
Converts to this type from the input type.
Source§impl Hash for TryRxError
impl Hash for TryRxError
Source§impl Ord for TryRxError
impl Ord for TryRxError
Source§fn cmp(&self, other: &TryRxError) -> Ordering
fn cmp(&self, other: &TryRxError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TryRxError
impl PartialEq for TryRxError
Source§impl PartialOrd for TryRxError
impl PartialOrd for TryRxError
impl StructuralPartialEq for TryRxError
Auto Trait Implementations§
impl Freeze for TryRxError
impl RefUnwindSafe for TryRxError
impl Send for TryRxError
impl Sync for TryRxError
impl Unpin for TryRxError
impl UnsafeUnpin for TryRxError
impl UnwindSafe for TryRxError
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