pub trait SampleableIndex<TIndex: Serialize + Hash + Copy + Eq + Ord, TInterval> {
// Required methods
fn sample_rates(&self) -> Vec<(usize, TInterval)>;
fn is_mono_intervaled(&self) -> bool;
}
Expand description
This trait represents an index that has a notion of sampleability. i.e. the semantic meaning of differenencces in the index
Required Methods§
fn sample_rates(&self) -> Vec<(usize, TInterval)>
fn is_mono_intervaled(&self) -> bool
Implementors§
impl SampleableIndex<NaiveDateTime, Duration> for HashableIndex<NaiveDateTime>
Implementation of SampleableIndex for HashableIndex