pub struct EventLogStats {
pub event_count: u64,
pub oldest_event_id: EventId,
pub newest_event_id: EventId,
pub total_bytes: u64,
pub file_count: usize,
}Expand description
Statistics about the event log
Fields§
§event_count: u64Total number of events in storage
oldest_event_id: EventIdOldest event ID still in storage
newest_event_id: EventIdNewest event ID in storage
total_bytes: u64Total bytes used by event storage
file_count: usizeNumber of active log files
Trait Implementations§
Source§impl Clone for EventLogStats
impl Clone for EventLogStats
Source§fn clone(&self) -> EventLogStats
fn clone(&self) -> EventLogStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EventLogStats
impl RefUnwindSafe for EventLogStats
impl Send for EventLogStats
impl Sync for EventLogStats
impl Unpin for EventLogStats
impl UnwindSafe for EventLogStats
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