pub struct ClusterEngine<T, S> { /* private fields */ }Implementations§
Source§impl<T: LinkReference, S: AtomicJournalStore> ClusterEngine<T, S>
impl<T: LinkReference, S: AtomicJournalStore> ClusterEngine<T, S>
pub fn new(store: S, options: EngineOptions) -> Result<Self, LinkError>
Sourcepub fn with_journal_checkpoint_interval(
self,
interval: u64,
) -> Result<Self, LinkError>
pub fn with_journal_checkpoint_interval( self, interval: u64, ) -> Result<Self, LinkError>
Replace the published journal with retained snapshots every N revisions. Disabled by default. The atomic store remains the publication boundary.
pub fn begin( &self, keys: &[&str], ) -> Result<ClusterTransaction<T, S>, LinkError>
Auto Trait Implementations§
impl<T, S> Freeze for ClusterEngine<T, S>
impl<T, S> RefUnwindSafe for ClusterEngine<T, S>where
T: RefUnwindSafe,
impl<T, S> Send for ClusterEngine<T, S>
impl<T, S> Sync for ClusterEngine<T, S>
impl<T, S> Unpin for ClusterEngine<T, S>where
T: Unpin,
impl<T, S> UnsafeUnpin for ClusterEngine<T, S>
impl<T, S> UnwindSafe for ClusterEngine<T, S>where
T: UnwindSafe,
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