pub struct Journal { /* private fields */ }Expand description
An opened checksummed record file.
The caller owns all locking and domain policy.
Implementations§
Source§impl Journal
impl Journal
Sourcepub fn open(path: PathBuf) -> Result<Option<Self>>
pub fn open(path: PathBuf) -> Result<Option<Self>>
Opens an existing journal, or returns None when it is absent.
An incomplete final line is truncated and synchronized. Corruption in any complete line is rejected.
Auto Trait Implementations§
impl Freeze for Journal
impl RefUnwindSafe for Journal
impl Send for Journal
impl Sync for Journal
impl Unpin for Journal
impl UnsafeUnpin for Journal
impl UnwindSafe for Journal
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