pub trait OverlapInfo: Debug {
// Required methods
fn check_overlap(&self, a: &SstableInfo) -> bool;
fn check_multiple_overlap(&self, others: &[SstableInfo]) -> Range<usize>;
fn check_multiple_include(&self, others: &[SstableInfo]) -> Range<usize>;
fn update(&mut self, range: &KeyRange);
}Required Methods§
fn check_overlap(&self, a: &SstableInfo) -> bool
fn check_multiple_overlap(&self, others: &[SstableInfo]) -> Range<usize>
fn check_multiple_include(&self, others: &[SstableInfo]) -> Range<usize>
fn update(&mut self, range: &KeyRange)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".