EncodableKeyRange

Trait EncodableKeyRange 

Source
pub trait EncodableKeyRange {
    const KIND: KeyKind;

    // Required methods
    fn start(&self) -> Option<EncodedKey>;
    fn end(&self) -> Option<EncodedKey>;
    fn decode(range: &EncodedKeyRange) -> (Option<Self>, Option<Self>)
       where Self: Sized;
}

Required Associated Constants§

Required Methods§

Source

fn start(&self) -> Option<EncodedKey>

Source

fn end(&self) -> Option<EncodedKey>

Source

fn decode(range: &EncodedKeyRange) -> (Option<Self>, Option<Self>)
where Self: Sized,

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.

Implementors§