pub struct ScheduledTaskSnapshot {
pub name: String,
pub mode: ScheduleMode,
pub running: bool,
pub active_runs: u64,
pub runs: u64,
pub skips: u64,
pub overlaps: u64,
pub failures: u64,
pub last_drift_ms: u64,
pub last_elapsed_ms: u64,
pub max_elapsed_ms: u64,
}Expand description
Represents scheduled task snapshot.
Fields§
§name: StringThe name value.
mode: ScheduleModeThe mode value.
running: boolWhether running.
active_runs: u64The active runs value.
runs: u64Runs that returned normally, including a controlled stop.
skips: u64The skips value.
overlaps: u64The overlaps value.
failures: u64Reserved runs that timed out, panicked, were cancelled, or could not start.
last_drift_ms: u64The last drift duration in milliseconds.
last_elapsed_ms: u64The last elapsed duration in milliseconds.
max_elapsed_ms: u64The max elapsed duration in milliseconds.
Trait Implementations§
Source§impl Clone for ScheduledTaskSnapshot
impl Clone for ScheduledTaskSnapshot
Source§impl Debug for ScheduledTaskSnapshot
impl Debug for ScheduledTaskSnapshot
Auto Trait Implementations§
impl Freeze for ScheduledTaskSnapshot
impl RefUnwindSafe for ScheduledTaskSnapshot
impl Send for ScheduledTaskSnapshot
impl Sync for ScheduledTaskSnapshot
impl Unpin for ScheduledTaskSnapshot
impl UnsafeUnpin for ScheduledTaskSnapshot
impl UnwindSafe for ScheduledTaskSnapshot
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