pub struct AsyncTm<K, V, C, P, S> { /* private fields */ }
Expand description
A multi-writer multi-reader MVCC, ACID, Serializable Snapshot Isolation transaction manager.
Implementations§
source§impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>
sourcepub async fn write_with_blocking_cm_and_pwm(
&self,
pending_manager_opts: P::Options,
conflict_manager_opts: Option<C::Options>
) -> Result<AsyncWtm<K, V, C, P, S>, TransactionError<C::Error, P::Error>>
pub async fn write_with_blocking_cm_and_pwm( &self, pending_manager_opts: P::Options, conflict_manager_opts: Option<C::Options> ) -> Result<AsyncWtm<K, V, C, P, S>, TransactionError<C::Error, P::Error>>
Create a new writable transaction with the default pending writes manager to store the pending writes.
source§impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>where
S: AsyncSpawner,
impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>where
S: AsyncSpawner,
source§impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>where
S: AsyncSpawner,
impl<K, V, C, P, S> AsyncTm<K, V, C, P, S>where
S: AsyncSpawner,
Trait Implementations§
Auto Trait Implementations§
impl<K, V, C, P, S> Freeze for AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> !RefUnwindSafe for AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> Send for AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> Sync for AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> Unpin for AsyncTm<K, V, C, P, S>
impl<K, V, C, P, S> !UnwindSafe for AsyncTm<K, V, C, P, S>
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