pub struct IdleScheduleConfig {
pub prefetch_idle_secs: u64,
pub maintenance_idle_secs: u64,
pub enabled: bool,
pub log_prune_interval_secs: u64,
pub log_max_age_secs: u64,
pub compact_interval_secs: u64,
}Expand description
Configuration for idle-time scheduling.
Fields§
§prefetch_idle_secs: u64Duration of inactivity before triggering prefetch.
maintenance_idle_secs: u64Duration of inactivity before triggering maintenance.
enabled: boolWhether idle scheduling is enabled.
log_prune_interval_secs: u64Interval in seconds between log pruning checks.
log_max_age_secs: u64Maximum age in seconds for log entries before pruning.
compact_interval_secs: u64Interval in seconds between database compaction.
Trait Implementations§
Source§impl Clone for IdleScheduleConfig
impl Clone for IdleScheduleConfig
Source§fn clone(&self) -> IdleScheduleConfig
fn clone(&self) -> IdleScheduleConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IdleScheduleConfig
impl RefUnwindSafe for IdleScheduleConfig
impl Send for IdleScheduleConfig
impl Sync for IdleScheduleConfig
impl Unpin for IdleScheduleConfig
impl UnwindSafe for IdleScheduleConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more