pub struct Log { /* private fields */ }Expand description
Appends to one conversation’s log.
Implementations§
Source§impl Log
impl Log
Sourcepub fn new(dir: PathBuf, gap: Duration) -> Self
pub fn new(dir: PathBuf, gap: Duration) -> Self
The log in dir, whose episodes end after gap without a message.
pub fn dir(&self) -> &Path
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnsafeUnpin for Log
impl UnwindSafe for Log
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