pub struct QueueDepthSnapshot {
pub critical: usize,
pub high: usize,
pub normal: usize,
pub low: usize,
}Expand description
Current depth of each priority tier in the task queue.
Fields§
§critical: usizeCritical priority tasks.
high: usizeHigh priority tasks.
normal: usizeNormal priority tasks.
low: usizeLow priority tasks.
Implementations§
Trait Implementations§
Source§impl Clone for QueueDepthSnapshot
impl Clone for QueueDepthSnapshot
Source§fn clone(&self) -> QueueDepthSnapshot
fn clone(&self) -> QueueDepthSnapshot
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 QueueDepthSnapshot
impl Debug for QueueDepthSnapshot
Source§impl Default for QueueDepthSnapshot
impl Default for QueueDepthSnapshot
Source§fn default() -> QueueDepthSnapshot
fn default() -> QueueDepthSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueueDepthSnapshot
impl<'de> Deserialize<'de> for QueueDepthSnapshot
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 QueueDepthSnapshot
impl RefUnwindSafe for QueueDepthSnapshot
impl Send for QueueDepthSnapshot
impl Sync for QueueDepthSnapshot
impl Unpin for QueueDepthSnapshot
impl UnsafeUnpin for QueueDepthSnapshot
impl UnwindSafe for QueueDepthSnapshot
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