Skip to main content

OrdLowerBound

Trait OrdLowerBound 

Source
pub trait OrdLowerBound {
    // Required method
    fn cmp_lower_bound(&self, other: &Self) -> Ordering;
}
Expand description

Trait for ordering keys by their lower bound (e.g. start for range-based keys).

This ordering is used exclusively by the merger’s min-heap to stream keys out in left-to-right order (by start). It is distinct from OrdUpperBound and is not used with search keys.

Required Methods§

Source

fn cmp_lower_bound(&self, other: &Self) -> Ordering

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§