pub struct LifecycleParams {
pub limit: usize,
pub half_life_episodic_ms: i64,
pub half_life_semantic_ms: i64,
pub half_life_procedural_ms: i64,
}Expand description
Tunables for one sweep. Default is the spec’s policy.
Fields§
§limit: usizeTop-N candidates to report (by descending staleness).
half_life_episodic_ms: i64§half_life_semantic_ms: i64§half_life_procedural_ms: i64Trait Implementations§
Source§impl Clone for LifecycleParams
impl Clone for LifecycleParams
Source§fn clone(&self) -> LifecycleParams
fn clone(&self) -> LifecycleParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LifecycleParams
impl Debug for LifecycleParams
Auto Trait Implementations§
impl Freeze for LifecycleParams
impl RefUnwindSafe for LifecycleParams
impl Send for LifecycleParams
impl Sync for LifecycleParams
impl Unpin for LifecycleParams
impl UnsafeUnpin for LifecycleParams
impl UnwindSafe for LifecycleParams
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