pub struct CommunicationError(pub String);Expand description
Error which occurs during sending, receiving or transmitting information between threads
Tuple Fields§
§0: StringError message associated with CommunicationError error type.
Trait Implementations§
Source§impl Clone for CommunicationError
impl Clone for CommunicationError
Source§fn clone(&self) -> CommunicationError
fn clone(&self) -> CommunicationError
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 moreSource§impl Debug for CommunicationError
impl Debug for CommunicationError
Source§impl Display for CommunicationError
impl Display for CommunicationError
Source§impl Error for CommunicationError
impl Error for CommunicationError
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()
Auto Trait Implementations§
impl Freeze for CommunicationError
impl RefUnwindSafe for CommunicationError
impl Send for CommunicationError
impl Sync for CommunicationError
impl Unpin for CommunicationError
impl UnsafeUnpin for CommunicationError
impl UnwindSafe for CommunicationError
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