pub struct ChannelStats {
pub id: u64,
pub queue_depth: u64,
pub send_count: u64,
pub receive_count: u64,
}Expand description
Per-channel statistics for diagnostics
Fields§
§id: u64Channel ID
queue_depth: u64Current queue depth (sends - receives)
send_count: u64Lifetime count of messages sent
receive_count: u64Lifetime count of messages received
Trait Implementations§
Source§impl Clone for ChannelStats
impl Clone for ChannelStats
Source§fn clone(&self) -> ChannelStats
fn clone(&self) -> ChannelStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChannelStats
impl RefUnwindSafe for ChannelStats
impl Send for ChannelStats
impl Sync for ChannelStats
impl Unpin for ChannelStats
impl UnwindSafe for ChannelStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)