pub trait DetectOutliers<T> {
// Required methods
fn detect_outliers(&mut self, lowest_rr: &T, highest_rr: &T);
fn detect_ectopics(&mut self, method: EctopicMethod);
}Expand description
Trait for detecting outliers and ectopics in RR intervals.
This trait allows custom implementations of methods for detecting outliers and ectopic beats in RR intervals. Any type that implements this trait can provide different detection methods based on specific requirements.