Struct jortestkit::load::Configuration
source · pub struct Configuration {
fetch_limit: Option<usize>,
monitor: Monitor,
shutdown_grace_period: Duration,
status_pace: Duration,
step_delay: Duration,
strategy: Strategy,
thread_no: usize,
}
Fields§
§fetch_limit: Option<usize>
§monitor: Monitor
§shutdown_grace_period: Duration
§status_pace: Duration
§step_delay: Duration
§strategy: Strategy
§thread_no: usize
Implementations§
source§impl Configuration
impl Configuration
pub fn fetch_limit(&self) -> Option<usize>
pub fn monitor(&self) -> &Monitor
pub fn shutdown_grace_period(&self) -> Duration
pub fn status_pace(&self) -> Duration
pub fn step_delay(&self) -> Duration
pub fn strategy(&self) -> &Strategy
pub fn thread_no(&self) -> usize
pub fn total_votes(&self) -> u32
Trait Implementations§
source§impl Clone for Configuration
impl Clone for Configuration
source§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
Returns a copy 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 Configuration
impl Debug for Configuration
source§impl<'de> Deserialize<'de> for Configuration
impl<'de> Deserialize<'de> for Configuration
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 RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
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