Skip to main content

FsstBacking

Trait FsstBacking 

Source
pub trait FsstBacking:
    Debug
    + Clone
    + Sealed {
    // Required methods
    fn uncompressed_bytes(&self) -> usize;
    fn get_array_memory_size(&self) -> usize;
}
Expand description

FSST backing store for LiquidByteViewArray (in-memory or disk-only handle).

Required Methods§

Source

fn uncompressed_bytes(&self) -> usize

Get the uncompressed bytes of the FSST buffer (used for sizing / squeeze bookkeeping).

Source

fn get_array_memory_size(&self) -> usize

Get the in-memory size of the FSST backing (raw bytes + any in-memory indices).

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§