pub trait SessionSource {
// Required methods
fn session_bounds(&self) -> Vec<(String, Option<i64>)>;
fn take_session(&mut self, trace_id: &str) -> Result<Vec<TraceRecord>>;
}Expand description
Claude sessions the export opens one at a time.
Required Methods§
Sourcefn session_bounds(&self) -> Vec<(String, Option<i64>)>
fn session_bounds(&self) -> Vec<(String, Option<i64>)>
Every session, with a lower bound on when its requests can start when one is known.
Sourcefn take_session(&mut self, trace_id: &str) -> Result<Vec<TraceRecord>>
fn take_session(&mut self, trace_id: &str) -> Result<Vec<TraceRecord>>
The session’s rows in source order.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".