pub enum ErrorSource {
User,
Platform,
System,
}Expand description
Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
Variants§
Trait Implementations§
Source§impl Clone for ErrorSource
impl Clone for ErrorSource
Source§fn clone(&self) -> ErrorSource
fn clone(&self) -> ErrorSource
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 ErrorSource
impl Debug for ErrorSource
Source§impl Default for ErrorSource
impl Default for ErrorSource
Source§fn default() -> ErrorSource
fn default() -> ErrorSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorSource
impl<'de> Deserialize<'de> for ErrorSource
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 Hash for ErrorSource
impl Hash for ErrorSource
Source§impl Ord for ErrorSource
impl Ord for ErrorSource
Source§fn cmp(&self, other: &ErrorSource) -> Ordering
fn cmp(&self, other: &ErrorSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ErrorSource
impl PartialEq for ErrorSource
Source§fn eq(&self, other: &ErrorSource) -> bool
fn eq(&self, other: &ErrorSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ErrorSource
impl PartialOrd for ErrorSource
Source§impl Serialize for ErrorSource
impl Serialize for ErrorSource
impl Copy for ErrorSource
impl Eq for ErrorSource
impl StructuralPartialEq for ErrorSource
Auto Trait Implementations§
impl Freeze for ErrorSource
impl RefUnwindSafe for ErrorSource
impl Send for ErrorSource
impl Sync for ErrorSource
impl Unpin for ErrorSource
impl UnsafeUnpin for ErrorSource
impl UnwindSafe for ErrorSource
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