Trait engine_traits::compact::CompactedEvent[][src]

pub trait CompactedEvent: Send {
    fn total_bytes_declined(&self) -> u64;
fn is_size_declining_trivial(&self, split_check_diff: u64) -> bool;
fn output_level_label(&self) -> String;
fn calc_ranges_declined_bytes(
        self,
        ranges: &BTreeMap<Vec<u8>, u64>,
        bytes_threshold: u64
    ) -> Vec<(u64, u64)>;
fn cf(&self) -> &str; }

Required methods

fn total_bytes_declined(&self) -> u64[src]

fn is_size_declining_trivial(&self, split_check_diff: u64) -> bool[src]

fn output_level_label(&self) -> String[src]

fn calc_ranges_declined_bytes(
    self,
    ranges: &BTreeMap<Vec<u8>, u64>,
    bytes_threshold: u64
) -> Vec<(u64, u64)>
[src]

This takes self by value so that engine_rocks can move keys out of the CompactedEvent

fn cf(&self) -> &str[src]

Loading content...

Implementors

Loading content...