pub struct GeminiParser;Expand description
Gemini session parser implementation
Trait Implementations§
Source§impl SessionParser for GeminiParser
impl SessionParser for GeminiParser
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 GeminiParser
impl RefUnwindSafe for GeminiParser
impl Send for GeminiParser
impl Sync for GeminiParser
impl Unpin for GeminiParser
impl UnwindSafe for GeminiParser
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