pub enum AnomalyError {
Init(String),
Observe(String),
}Expand description
Errors raised by FieldAnomalyDetector operations.
Variants§
Init(String)
The detector could not be configured or initialised.
Observe(String)
Observation failed (e.g. lock contention).
Trait Implementations§
Source§impl Debug for AnomalyError
impl Debug for AnomalyError
Source§impl Display for AnomalyError
impl Display for AnomalyError
Source§impl Error for AnomalyError
impl Error for AnomalyError
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 AnomalyError
impl RefUnwindSafe for AnomalyError
impl Send for AnomalyError
impl Sync for AnomalyError
impl Unpin for AnomalyError
impl UnsafeUnpin for AnomalyError
impl UnwindSafe for AnomalyError
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