pub enum AnalyticsError {
Disabled,
Configuration(String),
Serialization(String),
Export(String),
Storage(String),
}Expand description
Errors that can occur in the analytics module
Variants§
Disabled
Analytics is disabled
Configuration(String)
Configuration error
Serialization(String)
Serialization error
Export(String)
Export error
Storage(String)
Storage error
Trait Implementations§
Source§impl Debug for AnalyticsError
impl Debug for AnalyticsError
Source§impl Display for AnalyticsError
impl Display for AnalyticsError
Source§impl Error for AnalyticsError
impl Error for AnalyticsError
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 AnalyticsError
impl RefUnwindSafe for AnalyticsError
impl Send for AnalyticsError
impl Sync for AnalyticsError
impl Unpin for AnalyticsError
impl UnwindSafe for AnalyticsError
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