pub struct Stat {
pub pending: usize,
pub running: usize,
pub dead: usize,
pub failed: usize,
pub success: usize,
}
Expand description
Represents the current statistics of a backend
Fields§
§pending: usize
Represents pending tasks
running: usize
Represents running tasks
dead: usize
Represents dead tasks
failed: usize
Represents failed tasks
success: usize
Represents successful tasks
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stat
impl<'de> Deserialize<'de> for Stat
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 Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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