Skip to main content

JournalLock

Trait JournalLock 

Source
pub trait JournalLock { }
Expand description

An opaque RAII guard for the single-active-cut lock taken by JournalStore::lock_exclusive. Dropping it releases the lock; there are no methods — its lifetime is the contract.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§