pub enum WriterHolder {
Publish,
HistoryGc,
Checkpoint,
Pause,
}Expand description
What holds a backend’s single writer: one redb write transaction, from
begin_write to its commit. Every other writer waits meanwhile, so the
longest holds are what stall other tenants’ commits.
Variants§
Publish
Publishing commit groups into the materialization.
HistoryGc
One batch of history garbage collection.
Checkpoint
A durable checkpoint (fsync).
Pause
Writes paused for a consistent copy (backup).
Implementations§
Trait Implementations§
Source§impl Clone for WriterHolder
impl Clone for WriterHolder
impl Copy for WriterHolder
Source§impl Debug for WriterHolder
impl Debug for WriterHolder
impl Eq for WriterHolder
Source§impl PartialEq for WriterHolder
impl PartialEq for WriterHolder
impl StructuralPartialEq for WriterHolder
Auto Trait Implementations§
impl Freeze for WriterHolder
impl RefUnwindSafe for WriterHolder
impl Send for WriterHolder
impl Sync for WriterHolder
impl Unpin for WriterHolder
impl UnsafeUnpin for WriterHolder
impl UnwindSafe for WriterHolder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.