Trait KeyRangeExt

Source
pub trait KeyRangeExt {
    // Required methods
    fn inf() -> Self;
    fn new(left: Vec<u8>, right: Vec<u8>) -> Self;
    fn compare(&self, other: &Self) -> Ordering;
    fn start_bound_inf(&self) -> bool;
    fn end_bound_inf(&self) -> bool;
}

Required Methods§

Source

fn inf() -> Self

Source

fn new(left: Vec<u8>, right: Vec<u8>) -> Self

Source

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

Source

fn start_bound_inf(&self) -> bool

Source

fn end_bound_inf(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl KeyRangeExt for KeyRange

Source§

fn inf() -> Self

Source§

fn new(left: Vec<u8>, right: Vec<u8>) -> Self

Source§

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

Source§

fn start_bound_inf(&self) -> bool

Source§

fn end_bound_inf(&self) -> bool

Implementors§