pub struct GeminiWatcher;Expand description
Watcher for Gemini CLI sessions.
Discovers and parses JSON session files from the Gemini CLI tool.
Sessions are stored in ~/.gemini/tmp/<project-hash>/chats/session-*.json.
Trait Implementations§
Source§impl Watcher for GeminiWatcher
impl Watcher for GeminiWatcher
Source§fn info(&self) -> WatcherInfo
fn info(&self) -> WatcherInfo
Returns information about this watcher.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Checks if this watcher is available. Read more
Source§fn find_sources(&self) -> Result<Vec<PathBuf>>
fn find_sources(&self) -> Result<Vec<PathBuf>>
Finds all session sources (files or directories) to import. Read more
Auto Trait Implementations§
impl Freeze for GeminiWatcher
impl RefUnwindSafe for GeminiWatcher
impl Send for GeminiWatcher
impl Sync for GeminiWatcher
impl Unpin for GeminiWatcher
impl UnsafeUnpin for GeminiWatcher
impl UnwindSafe for GeminiWatcher
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