pub enum PresenceError {
ClientError(PresenceClientError),
RunnerError(PresenceRunnerError),
}Expand description
Core error type for using with both super::PresenceRunner and super::PresenceClient.
Variants§
ClientError(PresenceClientError)
RunnerError(PresenceRunnerError)
Trait Implementations§
Source§impl Debug for PresenceError
impl Debug for PresenceError
Source§impl Display for PresenceError
impl Display for PresenceError
Source§impl Error for PresenceError
impl Error for PresenceError
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.
Source§impl From<PresenceRunnerError> for PresenceError
impl From<PresenceRunnerError> for PresenceError
Source§fn from(source: PresenceRunnerError) -> Self
fn from(source: PresenceRunnerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PresenceError
impl !RefUnwindSafe for PresenceError
impl Send for PresenceError
impl Sync for PresenceError
impl Unpin for PresenceError
impl UnsafeUnpin for PresenceError
impl !UnwindSafe for PresenceError
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