pub struct AlertEngine { /* private fields */ }Expand description
Alert engine — holds rules and evaluates forecasts against them.
Implementations§
Source§impl AlertEngine
impl AlertEngine
Sourcepub fn with_default_rules() -> Self
pub fn with_default_rules() -> Self
Create an alert engine with default rules for all metrics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlertEngine
impl RefUnwindSafe for AlertEngine
impl Send for AlertEngine
impl Sync for AlertEngine
impl Unpin for AlertEngine
impl UnsafeUnpin for AlertEngine
impl UnwindSafe for AlertEngine
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