pub struct WorkerOccupancyRowV2 {
pub version: u16,
pub worker_id: u64,
pub busy_ns: u64,
pub blocked_ns: u64,
pub calls: u64,
}Expand description
Busy, blocked, and idle time for one worker across the whole session.
Fields§
§version: u16§worker_id: u64§busy_ns: u64Time inside outermost non-blocked spans; nested spans are not counted twice.
blocked_ns: u64Time inside outermost blocked-wait spans.
calls: u64Outermost spans entered by this worker.
Trait Implementations§
Source§impl Clone for WorkerOccupancyRowV2
impl Clone for WorkerOccupancyRowV2
Source§fn clone(&self) -> WorkerOccupancyRowV2
fn clone(&self) -> WorkerOccupancyRowV2
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 WorkerOccupancyRowV2
impl Debug for WorkerOccupancyRowV2
Source§impl<'de> Deserialize<'de> for WorkerOccupancyRowV2
impl<'de> Deserialize<'de> for WorkerOccupancyRowV2
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
impl Eq for WorkerOccupancyRowV2
Source§impl PartialEq for WorkerOccupancyRowV2
impl PartialEq for WorkerOccupancyRowV2
Source§impl Serialize for WorkerOccupancyRowV2
impl Serialize for WorkerOccupancyRowV2
impl StructuralPartialEq for WorkerOccupancyRowV2
Auto Trait Implementations§
impl Freeze for WorkerOccupancyRowV2
impl RefUnwindSafe for WorkerOccupancyRowV2
impl Send for WorkerOccupancyRowV2
impl Sync for WorkerOccupancyRowV2
impl Unpin for WorkerOccupancyRowV2
impl UnsafeUnpin for WorkerOccupancyRowV2
impl UnwindSafe for WorkerOccupancyRowV2
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