#[non_exhaustive]pub struct SessionStats {
pub requests_sent: u64,
pub events_received: u64,
pub sends_inline: u64,
pub sends_zero_copy: u64,
pub shm_fallbacks: u64,
pub logs_sent: u64,
}Expand description
Counters a node can read off its live session.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.requests_sent: u64Requests handed to the writer.
events_received: u64Events decoded by the reader.
sends_inline: u64Messages published on the daemon path.
sends_zero_copy: u64Messages published straight into shared memory (§6.3).
shm_fallbacks: u64Times a zero-copy send fell back to the daemon path (§6.2’s
shm_fallback_total).
logs_sent: u64Log records emitted over the wire.
Trait Implementations§
Source§impl Clone for SessionStats
impl Clone for SessionStats
impl Copy for SessionStats
Source§impl Debug for SessionStats
impl Debug for SessionStats
Source§impl Default for SessionStats
impl Default for SessionStats
impl Eq for SessionStats
Source§impl PartialEq for SessionStats
impl PartialEq for SessionStats
impl StructuralPartialEq for SessionStats
Auto Trait Implementations§
impl Freeze for SessionStats
impl RefUnwindSafe for SessionStats
impl Send for SessionStats
impl Sync for SessionStats
impl Unpin for SessionStats
impl UnsafeUnpin for SessionStats
impl UnwindSafe for SessionStats
Blanket Implementations§
impl<T> Allocation for T
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