pub struct ClaudeStore {
pub root: PathBuf,
}Expand description
Reads and writes Claude Code sessions under a projects root (default
~/.claude/projects).
Fields§
§root: PathBufImplementations§
Source§impl ClaudeStore
impl ClaudeStore
Trait Implementations§
Source§impl Clone for ClaudeStore
impl Clone for ClaudeStore
Source§fn clone(&self) -> ClaudeStore
fn clone(&self) -> ClaudeStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClaudeStore
impl Debug for ClaudeStore
Source§impl Store for ClaudeStore
impl Store for ClaudeStore
Source§type H = ClaudeCode
type H = ClaudeCode
The harness this store reads and writes.
Source§fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
Cheap metadata scan — no full message parsing. Read more
Source§fn load(&self, reference: &PathBuf) -> Result<Transcript<ClaudeCode>>
fn load(&self, reference: &PathBuf) -> Result<Transcript<ClaudeCode>>
Load and parse one transcript into its faithful native representation. Read more
Source§fn save(&self, transcript: &Transcript<ClaudeCode>) -> Result<Saved<PathBuf>>
fn save(&self, transcript: &Transcript<ClaudeCode>) -> Result<Saved<PathBuf>>
Persist a native transcript so the harness can resume it. Read more
Auto Trait Implementations§
impl Freeze for ClaudeStore
impl RefUnwindSafe for ClaudeStore
impl Send for ClaudeStore
impl Sync for ClaudeStore
impl Unpin for ClaudeStore
impl UnsafeUnpin for ClaudeStore
impl UnwindSafe for ClaudeStore
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