pub trait FsstBuffer:
Debug
+ Clone
+ Sealed {
// Required methods
fn get_fsst_buffer(&self) -> Result<Arc<RawFsstBuffer>, IoRange>;
fn get_array_memory_size(&self) -> usize;
fn uncompressed_bytes(&self) -> usize;
}Expand description
Trait for FSST buffer - can be in memory or on disk
Required Methods§
Sourcefn get_fsst_buffer(&self) -> Result<Arc<RawFsstBuffer>, IoRange>
fn get_fsst_buffer(&self) -> Result<Arc<RawFsstBuffer>, IoRange>
Get the raw FSST buffer, loading from disk if necessary
Sourcefn get_array_memory_size(&self) -> usize
fn get_array_memory_size(&self) -> usize
Get the memory size of the FSST buffer
Sourcefn uncompressed_bytes(&self) -> usize
fn uncompressed_bytes(&self) -> usize
Get the uncompressed bytes of the FSST buffer
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".