Skip to main content

SessionTracker

Trait SessionTracker 

Source
pub trait SessionTracker {
    // Required methods
    fn refresh(&mut self) -> Result<bool>;
    fn summary(&self) -> &SessionSummary;
    fn path(&self) -> &Path;
}

Required Methods§

Source

fn refresh(&mut self) -> Result<bool>

Ingest whatever was appended since the last call. Returns true when there is still unread data (the byte budget was exhausted).

Source

fn summary(&self) -> &SessionSummary

Source

fn path(&self) -> &Path

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§