pub struct CompactFrameCompression {
pub level: i32,
pub window_log: u32,
pub long_distance_matching: bool,
}Expand description
zstd parameters for one compact metadata frame.
Decoding never consults these: a frame carries its own zstd framing, so a store written at any level stays readable. Only the encoder’s CPU/bytes trade-off moves. The 2^27-byte long-distance window matches the #1325 falsifier at every level.
Fields§
§level: i32§window_log: u32§long_distance_matching: boolImplementations§
Trait Implementations§
Source§impl Clone for CompactFrameCompression
impl Clone for CompactFrameCompression
impl Copy for CompactFrameCompression
Source§impl Debug for CompactFrameCompression
impl Debug for CompactFrameCompression
Auto Trait Implementations§
impl Freeze for CompactFrameCompression
impl RefUnwindSafe for CompactFrameCompression
impl Send for CompactFrameCompression
impl Sync for CompactFrameCompression
impl Unpin for CompactFrameCompression
impl UnsafeUnpin for CompactFrameCompression
impl UnwindSafe for CompactFrameCompression
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