pub struct Metrics {
pub outbound_sync_bytes: u32,
pub outbound_sync_operations: u32,
pub inbound_sync_bytes: u32,
pub inbound_sync_operations: u32,
pub sent_sync_bytes: u32,
pub sent_sync_operations: u32,
pub received_sync_bytes: u32,
pub received_sync_operations: u32,
pub sent_live_bytes: u32,
pub sent_live_operations: u32,
pub received_live_bytes: u32,
pub received_live_operations: u32,
}Fields§
§outbound_sync_bytes: u32§outbound_sync_operations: u32§inbound_sync_bytes: u32§inbound_sync_operations: u32§sent_sync_bytes: u32§sent_sync_operations: u32§received_sync_bytes: u32§received_sync_operations: u32§sent_live_bytes: u32§sent_live_operations: u32§received_live_bytes: u32§received_live_operations: u32Implementations§
Source§impl Metrics
impl Metrics
pub fn sent_bytes(&self) -> u32
pub fn received_bytes(&self) -> u32
pub fn sent_operations(&self) -> u32
pub fn received_operations(&self) -> u32
Trait Implementations§
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.
impl StructuralPartialEq for Metrics
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
impl UnwindSafe for Metrics
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