pub trait SessionTracker {
// Required methods
fn refresh(&mut self) -> Result<bool>;
fn summary(&self) -> &SessionSummary;
fn path(&self) -> &Path;
}Required Methods§
Sourcefn refresh(&mut self) -> Result<bool>
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).
fn summary(&self) -> &SessionSummary
fn path(&self) -> &Path
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".