pub struct TransportStats(/* private fields */);Implementations§
Source§impl TransportStats
impl TransportStats
pub fn link_stats(&self, src: &Locator, dst: &Locator) -> LinkStats
pub fn peer_link_stats( &self, peer_zid: ZenohIdProto, peer_whatami: WhatAmI, link_stats: &LinkStats, ) -> LinkStats
pub fn drop_stats(&self, reason: ReasonLabel) -> DropStats
pub fn observe_network_message_payload( &self, direction: StatsDirection, message: MessageLabel, priority: Priority, payload_size: usize, space: SpaceLabel, keys: &StatsKeys, shm: bool, )
pub fn tx_observe_no_link(&self, msg: NetworkMessageRef<'_>)
Trait Implementations§
Source§impl Clone for TransportStats
impl Clone for TransportStats
Source§fn clone(&self) -> TransportStats
fn clone(&self) -> TransportStats
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 moreAuto Trait Implementations§
impl Freeze for TransportStats
impl !RefUnwindSafe for TransportStats
impl Send for TransportStats
impl Sync for TransportStats
impl Unpin for TransportStats
impl UnsafeUnpin for TransportStats
impl !UnwindSafe for TransportStats
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