pub struct ClassStats {
pub queued: usize,
pub running: usize,
}Expand description
Per-class stats snapshot.
Fields§
§queued: usizeQueued items.
running: usizeRunning items.
Trait Implementations§
Source§impl Clone for ClassStats
impl Clone for ClassStats
Source§fn clone(&self) -> ClassStats
fn clone(&self) -> ClassStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClassStats
impl Debug for ClassStats
impl Eq for ClassStats
Source§impl PartialEq for ClassStats
impl PartialEq for ClassStats
Source§impl Serialize for ClassStats
impl Serialize for ClassStats
impl StructuralPartialEq for ClassStats
Auto Trait Implementations§
impl Freeze for ClassStats
impl RefUnwindSafe for ClassStats
impl Send for ClassStats
impl Sync for ClassStats
impl Unpin for ClassStats
impl UnsafeUnpin for ClassStats
impl UnwindSafe for ClassStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more