pub enum SessionLog {
Transcript(PathBuf),
GitCommit {
sha: String,
project_root: Option<PathBuf>,
},
ProxyEvent(Value),
}Expand description
Session log material handed to an adapter’s parse_session.
Variants§
Transcript(PathBuf)
A path to a session transcript file (adapter decides how to read it).
GitCommit
A git commit SHA with optional project root (used by Aider post-commit hooks).
When project_root is Some, the Aider adapter will run any configured
test-cmd / lint-cmd in that directory to produce real signals.
Fields
ProxyEvent(Value)
A pre-parsed event payload (used by the proxy’s Cursor fallback).
Trait Implementations§
Source§impl Clone for SessionLog
impl Clone for SessionLog
Source§fn clone(&self) -> SessionLog
fn clone(&self) -> SessionLog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLog
impl UnwindSafe for SessionLog
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