pub struct SchedulingConfig {
pub max_queue_size: usize,
pub enable_circuit_breakers: bool,
pub circuit_breaker_threshold: u32,
pub worker_count: usize,
}Expand description
Scheduling configuration
Fields§
§max_queue_size: usize§enable_circuit_breakers: bool§circuit_breaker_threshold: u32§worker_count: usizeTrait Implementations§
Source§impl Clone for SchedulingConfig
impl Clone for SchedulingConfig
Source§fn clone(&self) -> SchedulingConfig
fn clone(&self) -> SchedulingConfig
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 SchedulingConfig
impl Debug for SchedulingConfig
Source§impl Default for SchedulingConfig
impl Default for SchedulingConfig
Source§impl<'de> Deserialize<'de> for SchedulingConfig
impl<'de> Deserialize<'de> for SchedulingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SchedulingConfig
impl RefUnwindSafe for SchedulingConfig
impl Send for SchedulingConfig
impl Sync for SchedulingConfig
impl Unpin for SchedulingConfig
impl UnwindSafe for SchedulingConfig
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