pub struct SessionAnalyzer { /* private fields */ }Expand description
Builder for analyzing sessions with multiple diagnostic checks.
Apply one or more diagnostics to a session to generate an analysis report with insights and a health score.
Implementations§
Source§impl SessionAnalyzer
impl SessionAnalyzer
pub fn new(session: AgentSession) -> Self
Sourcepub fn check(self, diagnostic: Diagnostic) -> Self
pub fn check(self, diagnostic: Diagnostic) -> Self
Add a diagnostic check to the analysis.
pub fn report(self) -> Result<AnalysisReport>
Auto Trait Implementations§
impl Freeze for SessionAnalyzer
impl RefUnwindSafe for SessionAnalyzer
impl Send for SessionAnalyzer
impl Sync for SessionAnalyzer
impl Unpin for SessionAnalyzer
impl UnsafeUnpin for SessionAnalyzer
impl UnwindSafe for SessionAnalyzer
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