pub enum PresenceClientError {
ActivitySendError,
OneShotRecvError(RecvError),
}Expand description
Points to errors specifically related to crate::PresenceClient.
Variants§
Trait Implementations§
Source§impl Debug for PresenceClientError
impl Debug for PresenceClientError
Source§impl Display for PresenceClientError
impl Display for PresenceClientError
Source§impl Error for PresenceClientError
impl Error for PresenceClientError
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<PresenceClientError> for PresenceError
impl From<PresenceClientError> for PresenceError
Source§fn from(source: PresenceClientError) -> Self
fn from(source: PresenceClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PresenceClientError
impl RefUnwindSafe for PresenceClientError
impl Send for PresenceClientError
impl Sync for PresenceClientError
impl Unpin for PresenceClientError
impl UnsafeUnpin for PresenceClientError
impl UnwindSafe for PresenceClientError
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