Factor out parts of event bin
This commit is contained in:
@@ -44,6 +44,10 @@ pub trait AppendEmptyBin {
|
||||
fn append_empty_bin(&mut self, ts1: u64, ts2: u64);
|
||||
}
|
||||
|
||||
pub trait AppendAllFrom {
|
||||
fn append_all_from(&mut self, src: &mut Self);
|
||||
}
|
||||
|
||||
pub trait AsAnyRef {
|
||||
fn as_any_ref(&self) -> &dyn Any;
|
||||
}
|
||||
|
||||
@@ -9,11 +9,6 @@ pub trait HasTimestampDeque {
|
||||
fn pulse_max(&self) -> Option<u64>;
|
||||
}
|
||||
|
||||
pub trait RangeOverlapCmp {
|
||||
fn range_overlap_cmp_beg(a: u64, b: u64) -> bool;
|
||||
fn range_overlap_cmp_end(a: u64, b: u64) -> bool;
|
||||
}
|
||||
|
||||
pub trait RangeOverlapInfo {
|
||||
fn ends_before(&self, range: &SeriesRange) -> bool;
|
||||
fn ends_after(&self, range: &SeriesRange) -> bool;
|
||||
|
||||
Reference in New Issue
Block a user