pub struct SchedulerConfig {
    pub scheduler_type: SchedulerType,
    pub max_retries: u32,
    pub retry_backoff_multiplier: f64,
    pub initial_retry_delay: Duration,
    pub max_retry_delay: Duration,
}Expand description
Scheduler configuration
Fields§
§scheduler_type: SchedulerTypeScheduler type
max_retries: u32Maximum retry attempts
retry_backoff_multiplier: f64Retry backoff multiplier
initial_retry_delay: DurationInitial retry delay
max_retry_delay: DurationMaximum retry delay
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
Source§impl Default for SchedulerConfig
 
impl Default for SchedulerConfig
Source§fn default() -> SchedulerConfig
 
fn default() -> SchedulerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulerConfig
 
impl<'de> Deserialize<'de> for SchedulerConfig
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<SchedulerConfig, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<SchedulerConfig, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SchedulerConfig
 
impl Serialize for SchedulerConfig
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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