pub struct CodexParser;Expand description
Codex session parser implementation
Trait Implementations§
Source§impl SessionParser for CodexParser
impl SessionParser for CodexParser
Source§fn parse_file(&self, path: &Path) -> Result<Vec<AgentEvent>>
fn parse_file(&self, path: &Path) -> Result<Vec<AgentEvent>>
Parse entire file into event stream
Source§fn parse_record(&self, content: &str) -> Result<Option<AgentEvent>>
fn parse_record(&self, content: &str) -> Result<Option<AgentEvent>>
Parse single record for streaming (e.g., tail -f mode)
Returns None for malformed/incomplete lines (non-fatal)
Auto Trait Implementations§
impl Freeze for CodexParser
impl RefUnwindSafe for CodexParser
impl Send for CodexParser
impl Sync for CodexParser
impl Unpin for CodexParser
impl UnwindSafe for CodexParser
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