pub enum TryAsyncMessageError {
Unregistered(MessageTypeUnregistered),
Disconnected(MessageChannelsDisconnected),
}
Variants
Unregistered(MessageTypeUnregistered)
Disconnected(MessageChannelsDisconnected)
Trait Implementations
sourceimpl Debug for TryAsyncMessageError
impl Debug for TryAsyncMessageError
sourceimpl Display for TryAsyncMessageError
impl Display for TryAsyncMessageError
sourceimpl Error for TryAsyncMessageError
impl Error for TryAsyncMessageError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<MessageChannelsDisconnected> for TryAsyncMessageError
impl From<MessageChannelsDisconnected> for TryAsyncMessageError
sourcefn from(source: MessageChannelsDisconnected) -> Self
fn from(source: MessageChannelsDisconnected) -> Self
Performs the conversion.
sourceimpl From<MessageTypeUnregistered> for TryAsyncMessageError
impl From<MessageTypeUnregistered> for TryAsyncMessageError
sourcefn from(source: MessageTypeUnregistered) -> Self
fn from(source: MessageTypeUnregistered) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TryAsyncMessageError
impl Send for TryAsyncMessageError
impl Sync for TryAsyncMessageError
impl Unpin for TryAsyncMessageError
impl UnwindSafe for TryAsyncMessageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more