Enum mesh_channel::TryRecvError
source · pub enum TryRecvError {
Empty,
Closed,
Error(ChannelError),
}
Variants§
Trait Implementations§
source§impl Debug for TryRecvError
impl Debug for TryRecvError
source§impl Display for TryRecvError
impl Display for TryRecvError
source§impl Error for TryRecvError
impl Error for TryRecvError
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<ChannelError> for TryRecvError
impl From<ChannelError> for TryRecvError
source§fn from(source: ChannelError) -> Self
fn from(source: ChannelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TryRecvError
impl !RefUnwindSafe for TryRecvError
impl Send for TryRecvError
impl Sync for TryRecvError
impl Unpin for TryRecvError
impl !UnwindSafe for TryRecvError
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