pub struct LogSyncMetrics {
pub outbound_operations: u32,
pub outbound_bytes: u32,
pub inbound_operations: u32,
pub inbound_bytes: u32,
pub sent_operations: u32,
pub sent_bytes: u32,
pub received_operations: u32,
pub received_bytes: u32,
}Expand description
Sync metrics emitted in event messages.
Fields§
§outbound_operations: u32§outbound_bytes: u32§inbound_operations: u32§inbound_bytes: u32§sent_operations: u32§sent_bytes: u32§received_operations: u32§received_bytes: u32Trait Implementations§
Source§impl Clone for LogSyncMetrics
impl Clone for LogSyncMetrics
Source§fn clone(&self) -> LogSyncMetrics
fn clone(&self) -> LogSyncMetrics
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 moreSource§impl Debug for LogSyncMetrics
impl Debug for LogSyncMetrics
Source§impl Default for LogSyncMetrics
impl Default for LogSyncMetrics
Source§fn default() -> LogSyncMetrics
fn default() -> LogSyncMetrics
Returns the “default value” for a type. Read more
Source§impl From<LogSyncMetrics> for Metrics
impl From<LogSyncMetrics> for Metrics
Source§fn from(value: LogSyncMetrics) -> Metrics
fn from(value: LogSyncMetrics) -> Metrics
Converts to this type from the input type.
Source§impl PartialEq for LogSyncMetrics
impl PartialEq for LogSyncMetrics
Source§fn eq(&self, other: &LogSyncMetrics) -> bool
fn eq(&self, other: &LogSyncMetrics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogSyncMetrics
Auto Trait Implementations§
impl Freeze for LogSyncMetrics
impl RefUnwindSafe for LogSyncMetrics
impl Send for LogSyncMetrics
impl Sync for LogSyncMetrics
impl Unpin for LogSyncMetrics
impl UnsafeUnpin for LogSyncMetrics
impl UnwindSafe for LogSyncMetrics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more