pub struct SyncUsageStats { /* private fields */ }Available on crate feature
replication only.Expand description
Detailed logs about bytes synced with primary
Implementations§
Source§impl SyncUsageStats
impl SyncUsageStats
Sourcepub fn prefetched_bytes(&self) -> u64
pub fn prefetched_bytes(&self) -> u64
Number of bytes prefetched while doing handshake
Sourcepub fn prefetched_bytes_discarded_due_to_new_session(&self) -> u64
pub fn prefetched_bytes_discarded_due_to_new_session(&self) -> u64
Number of bytes prefetched and discarded due to the change of the client session
Sourcepub fn prefetched_bytes_discarded_due_to_consecutive_handshake(&self) -> u64
pub fn prefetched_bytes_discarded_due_to_consecutive_handshake(&self) -> u64
Number of bytes prefetched and discarded due to consecutive handshake with new prefetch
Sourcepub fn prefetched_bytes_discarded_due_to_invalid_frame_header(&self) -> u64
pub fn prefetched_bytes_discarded_due_to_invalid_frame_header(&self) -> u64
Number of bytes prefetched and discarded due to invalid frame header in received frames
Sourcepub fn synced_bytes_discarded_due_to_invalid_frame_header(&self) -> u64
pub fn synced_bytes_discarded_due_to_invalid_frame_header(&self) -> u64
Number of bytes synced and discarded due to invalid frame header in received frames
Sourcepub fn prefetched_bytes_used(&self) -> u64
pub fn prefetched_bytes_used(&self) -> u64
Number of bytes prefetched and used
Sourcepub fn synced_bytes_used(&self) -> u64
pub fn synced_bytes_used(&self) -> u64
Number of bytes synced and used
Sourcepub fn snapshot_bytes(&self) -> u64
pub fn snapshot_bytes(&self) -> u64
Number of bytes downloaded as snapshots
Auto Trait Implementations§
impl Freeze for SyncUsageStats
impl RefUnwindSafe for SyncUsageStats
impl Send for SyncUsageStats
impl Sync for SyncUsageStats
impl Unpin for SyncUsageStats
impl UnwindSafe for SyncUsageStats
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request