pub struct ResourceTypeSummary {
pub total_lease_cost_byte_secs: u64,
pub total_bytes_read: u64,
pub total_bytes_written: u64,
pub total_ops: u64,
pub total_acquire_wait_us: u64,
}Expand description
Per-resource-type aggregated statistics.
Fields§
§total_lease_cost_byte_secs: u64Total bytes leased (approximated from lease_cost / duration).
total_bytes_read: u64Total bytes read across all spans of this type.
total_bytes_written: u64Total bytes written across all spans of this type.
total_ops: u64Total operation count.
total_acquire_wait_us: u64Total lease acquire wait (microseconds).
Trait Implementations§
Source§impl Clone for ResourceTypeSummary
impl Clone for ResourceTypeSummary
Source§fn clone(&self) -> ResourceTypeSummary
fn clone(&self) -> ResourceTypeSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceTypeSummary
impl Debug for ResourceTypeSummary
Source§impl Default for ResourceTypeSummary
impl Default for ResourceTypeSummary
Source§fn default() -> ResourceTypeSummary
fn default() -> ResourceTypeSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceTypeSummary
impl RefUnwindSafe for ResourceTypeSummary
impl Send for ResourceTypeSummary
impl Sync for ResourceTypeSummary
impl Unpin for ResourceTypeSummary
impl UnwindSafe for ResourceTypeSummary
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