pub struct AsyncTm<K, V, C, P, S>where
S: AsyncSpawner,{ /* 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: 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: 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