pub struct FileChatCapture { /* private fields */ }Implementations§
Source§impl FileChatCapture
impl FileChatCapture
pub fn new(log_path: PathBuf) -> Result<Self>
pub fn mode(&self) -> ChatCaptureMode
pub fn name(&self) -> &'static str
pub async fn capture_recent_messages(&mut self) -> Vec<ChatMessage>
Auto Trait Implementations§
impl Freeze for FileChatCapture
impl !RefUnwindSafe for FileChatCapture
impl Send for FileChatCapture
impl Sync for FileChatCapture
impl Unpin for FileChatCapture
impl UnsafeUnpin for FileChatCapture
impl !UnwindSafe for FileChatCapture
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