pub enum RowMatchFinderMode {
Auto,
Enable,
Disable,
}Expand description
Which finder the greedy, lazy and lazy2 strategies search, the drop-in
equivalent of C zstd’s ZSTD_c_useRowMatchFinder (ZSTD_ps_auto /
ZSTD_ps_enable / ZSTD_ps_disable). The other strategies have a finder
of their own and ignore it.
Variants§
Auto
Rows above a 16 KiB window, a hash chain at or below it, where the rows
cost more to set up than they save (upstream
ZSTD_resolveRowMatchFinderMode, zstd_compress.c:246).
Enable
Search rows at every window size.
Disable
Search a hash chain at every window size.
Trait Implementations§
Source§impl Clone for RowMatchFinderMode
impl Clone for RowMatchFinderMode
impl Copy for RowMatchFinderMode
Source§impl Debug for RowMatchFinderMode
impl Debug for RowMatchFinderMode
Source§impl Default for RowMatchFinderMode
impl Default for RowMatchFinderMode
impl Eq for RowMatchFinderMode
Source§impl PartialEq for RowMatchFinderMode
impl PartialEq for RowMatchFinderMode
impl StructuralPartialEq for RowMatchFinderMode
Auto Trait Implementations§
impl Freeze for RowMatchFinderMode
impl RefUnwindSafe for RowMatchFinderMode
impl Send for RowMatchFinderMode
impl Sync for RowMatchFinderMode
impl Unpin for RowMatchFinderMode
impl UnsafeUnpin for RowMatchFinderMode
impl UnwindSafe for RowMatchFinderMode
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