pub struct WorkerLoadV2 {
pub version: u16,
pub worker_id: u64,
pub calls: u64,
pub elapsed_ns: u64,
}Expand description
Per-worker load observed from one counter shard.
Fields§
§version: u16§worker_id: u64§calls: u64§elapsed_ns: u64Trait Implementations§
Source§impl Clone for WorkerLoadV2
impl Clone for WorkerLoadV2
Source§fn clone(&self) -> WorkerLoadV2
fn clone(&self) -> WorkerLoadV2
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 WorkerLoadV2
impl Debug for WorkerLoadV2
Source§impl<'de> Deserialize<'de> for WorkerLoadV2
impl<'de> Deserialize<'de> for WorkerLoadV2
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 WorkerLoadV2
Source§impl PartialEq for WorkerLoadV2
impl PartialEq for WorkerLoadV2
Source§impl Serialize for WorkerLoadV2
impl Serialize for WorkerLoadV2
impl StructuralPartialEq for WorkerLoadV2
Auto Trait Implementations§
impl Freeze for WorkerLoadV2
impl RefUnwindSafe for WorkerLoadV2
impl Send for WorkerLoadV2
impl Sync for WorkerLoadV2
impl Unpin for WorkerLoadV2
impl UnsafeUnpin for WorkerLoadV2
impl UnwindSafe for WorkerLoadV2
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