pub struct SchedulerConfig {
pub executor_config: ExecutorConfig,
pub executor_pool_size: usize,
pub check_interval: Duration,
pub max_scheduler_threads: usize,
pub enable_persistence: bool,
pub persistence_interval: Duration,
}
Expand description
Scheduler configuration
Fields§
§executor_config: ExecutorConfig
§executor_pool_size: usize
§check_interval: Duration
§max_scheduler_threads: usize
§enable_persistence: bool
§persistence_interval: Duration
Trait Implementations§
Source§impl Clone for SchedulerConfig
impl Clone for SchedulerConfig
Source§fn clone(&self) -> SchedulerConfig
fn clone(&self) -> SchedulerConfig
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 moreSource§impl Debug for SchedulerConfig
impl Debug for SchedulerConfig
Auto Trait Implementations§
impl Freeze for SchedulerConfig
impl RefUnwindSafe for SchedulerConfig
impl Send for SchedulerConfig
impl Sync for SchedulerConfig
impl Unpin for SchedulerConfig
impl UnwindSafe for SchedulerConfig
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