pub struct ClaudeCodeAdapter;Trait Implementations§
Source§impl Adapter for ClaudeCodeAdapter
impl Adapter for ClaudeCodeAdapter
Source§fn session_count(&self, root: &Path) -> Result<usize>
fn session_count(&self, root: &Path) -> Result<usize>
One transcript file per session; the file stem is the session id, so this needs no reads.
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable adapter name, used as the
agent field and the config key.Source§fn is_implemented(&self) -> bool
fn is_implemented(&self) -> bool
Whether this adapter is implemented at all.
Source§fn capabilities(&self) -> Capabilities
fn capabilities(&self) -> Capabilities
KPIs this adapter can populate.
Source§fn root(&self, config: &Config) -> Option<PathBuf>
fn root(&self, config: &Config) -> Option<PathBuf>
Log root for this adapter: the configured path, else its built-in
default.
None when no default can be determined.Auto Trait Implementations§
impl Freeze for ClaudeCodeAdapter
impl RefUnwindSafe for ClaudeCodeAdapter
impl Send for ClaudeCodeAdapter
impl Sync for ClaudeCodeAdapter
impl Unpin for ClaudeCodeAdapter
impl UnsafeUnpin for ClaudeCodeAdapter
impl UnwindSafe for ClaudeCodeAdapter
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