pub struct StaleThresholdStrategy(/* private fields */);
Expand description
Picks segments that have a certain percentage of stale blobs
Implementations§
Source§impl StaleThresholdStrategy
impl StaleThresholdStrategy
Sourcepub fn new(ratio: f32) -> StaleThresholdStrategy
pub fn new(ratio: f32) -> StaleThresholdStrategy
Trait Implementations§
Source§impl<C> GcStrategy<C> for StaleThresholdStrategywhere
C: Compressor + Clone,
impl<C> GcStrategy<C> for StaleThresholdStrategywhere
C: Compressor + Clone,
Auto Trait Implementations§
impl Freeze for StaleThresholdStrategy
impl RefUnwindSafe for StaleThresholdStrategy
impl Send for StaleThresholdStrategy
impl Sync for StaleThresholdStrategy
impl Unpin for StaleThresholdStrategy
impl UnwindSafe for StaleThresholdStrategy
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