pub struct SinkStats {
pub bytes_sent: u64,
pub packets_sent: u64,
pub bytes_dropped: u64,
pub packets_dropped: u64,
}
Expand description
I/O telemetry for a MetricSink
implementation.
Fields§
§bytes_sent: u64
§packets_sent: u64
§bytes_dropped: u64
§packets_dropped: u64
Trait Implementations§
source§impl From<&SocketStats> for SinkStats
impl From<&SocketStats> for SinkStats
source§fn from(stats: &SocketStats) -> Self
fn from(stats: &SocketStats) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SinkStats
impl RefUnwindSafe for SinkStats
impl Send for SinkStats
impl Sync for SinkStats
impl Unpin for SinkStats
impl UnwindSafe for SinkStats
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