Enum remoc::chmux::RecvAnyError
source · pub enum RecvAnyError {
ChMux,
}
Expand description
An error occurred during receiving a message.
Variants§
ChMux
Multiplexer terminated.
Implementations§
source§impl RecvAnyError
impl RecvAnyError
sourcepub fn is_terminated(&self) -> bool
pub fn is_terminated(&self) -> bool
Returns true, if error is due to multiplexer being terminated.
Trait Implementations§
source§impl Clone for RecvAnyError
impl Clone for RecvAnyError
source§fn clone(&self) -> RecvAnyError
fn clone(&self) -> RecvAnyError
Returns a copy 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 RecvAnyError
impl Debug for RecvAnyError
source§impl<'de> Deserialize<'de> for RecvAnyError
impl<'de> Deserialize<'de> for RecvAnyError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RecvAnyError
impl Display for RecvAnyError
source§impl Error for RecvAnyError
impl Error for RecvAnyError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for RecvAnyError
impl RefUnwindSafe for RecvAnyError
impl Send for RecvAnyError
impl Sync for RecvAnyError
impl Unpin for RecvAnyError
impl UnwindSafe for RecvAnyError
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