pub struct AdaptiveBlocker;Expand description
Adaptive block sizing engine
Implementations§
Source§impl AdaptiveBlocker
impl AdaptiveBlocker
Sourcepub fn analyze_block_profile(data: &[u8]) -> BlockProfile
pub fn analyze_block_profile(data: &[u8]) -> BlockProfile
Analyze data and recommend block size
Sourcepub fn estimate_compression_ratio(block: &[u8]) -> f64
pub fn estimate_compression_ratio(block: &[u8]) -> f64
Calculate compression effectiveness for a block
Auto Trait Implementations§
impl Freeze for AdaptiveBlocker
impl RefUnwindSafe for AdaptiveBlocker
impl Send for AdaptiveBlocker
impl Sync for AdaptiveBlocker
impl Unpin for AdaptiveBlocker
impl UnsafeUnpin for AdaptiveBlocker
impl UnwindSafe for AdaptiveBlocker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more