pub struct IpcSchedulerStats {
pub total: usize,
pub pending: usize,
pub running: usize,
pub completed: usize,
pub failed: usize,
pub cancelled: usize,
pub has_nika: bool,
}Expand description
Scheduler statistics for IPC responses.
Fields§
§total: usizeTotal jobs (all states)
pending: usizePending jobs
running: usizeCurrently running jobs
completed: usizeCompleted jobs
failed: usizeFailed jobs
cancelled: usizeCancelled jobs
has_nika: boolWhether nika binary is available
Trait Implementations§
Source§impl Clone for IpcSchedulerStats
impl Clone for IpcSchedulerStats
Source§fn clone(&self) -> IpcSchedulerStats
fn clone(&self) -> IpcSchedulerStats
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 IpcSchedulerStats
impl Debug for IpcSchedulerStats
Source§impl<'de> Deserialize<'de> for IpcSchedulerStats
impl<'de> Deserialize<'de> for IpcSchedulerStats
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 IpcSchedulerStats
impl RefUnwindSafe for IpcSchedulerStats
impl Send for IpcSchedulerStats
impl Sync for IpcSchedulerStats
impl Unpin for IpcSchedulerStats
impl UnsafeUnpin for IpcSchedulerStats
impl UnwindSafe for IpcSchedulerStats
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