Struct app_frame::service::LoopConfig
source · pub struct LoopConfig {
pub delay_secs: i32,
pub max_iteration_secs: i32,
}Fields§
§delay_secs: i32Time to pause between iterations, doing nothing.
max_iteration_secs: i32The longest you would ever expect it to take to execute a single iteration, not including the delay.
Trait Implementations§
source§impl Clone for LoopConfig
impl Clone for LoopConfig
source§fn clone(&self) -> LoopConfig
fn clone(&self) -> LoopConfig
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 moreAuto Trait Implementations§
impl RefUnwindSafe for LoopConfig
impl Send for LoopConfig
impl Sync for LoopConfig
impl Unpin for LoopConfig
impl UnwindSafe for LoopConfig
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