pub struct WriterLock { /* private fields */ }Expand description
Optional cooperating-writer lock helper.
The journal file format does not define a lock protocol. Callers that want SDK-to-SDK writer exclusion can acquire this helper before opening a writer and release it after closing that writer.
Implementations§
Trait Implementations§
Source§impl Debug for WriterLock
impl Debug for WriterLock
Source§impl Drop for WriterLock
impl Drop for WriterLock
Auto Trait Implementations§
impl Freeze for WriterLock
impl RefUnwindSafe for WriterLock
impl Send for WriterLock
impl Sync for WriterLock
impl Unpin for WriterLock
impl UnsafeUnpin for WriterLock
impl UnwindSafe for WriterLock
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