pub struct DiagnosticCompactRange {
pub shard: u32,
pub compact_offset: u64,
pub records: u64,
pub bytes: u64,
}Expand description
One compact diagnostic readback range.
Fields§
§shard: u32Source shard id.
compact_offset: u64Offset in the compact diagnostic slab.
records: u64Diagnostics represented in this range.
bytes: u64Bytes copied into the compact diagnostic slab.
Trait Implementations§
Source§impl Clone for DiagnosticCompactRange
impl Clone for DiagnosticCompactRange
Source§fn clone(&self) -> DiagnosticCompactRange
fn clone(&self) -> DiagnosticCompactRange
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 moreimpl Copy for DiagnosticCompactRange
Source§impl Debug for DiagnosticCompactRange
impl Debug for DiagnosticCompactRange
impl Eq for DiagnosticCompactRange
Source§impl PartialEq for DiagnosticCompactRange
impl PartialEq for DiagnosticCompactRange
Source§fn eq(&self, other: &DiagnosticCompactRange) -> bool
fn eq(&self, other: &DiagnosticCompactRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiagnosticCompactRange
Auto Trait Implementations§
impl Freeze for DiagnosticCompactRange
impl RefUnwindSafe for DiagnosticCompactRange
impl Send for DiagnosticCompactRange
impl Sync for DiagnosticCompactRange
impl Unpin for DiagnosticCompactRange
impl UnsafeUnpin for DiagnosticCompactRange
impl UnwindSafe for DiagnosticCompactRange
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.