pub struct AsyncRtm<K, V, C, P, S>where
S: AsyncSpawner,{ /* private fields */ }Expand description
AsyncRtm is a read-only transaction manager.
It is created by calling AsyncTm::read,
the read transaction will automatically notify the transaction manager when it
is dropped. So, the end user doesn’t need to call any cleanup function, but must
hold this struct in their final read transaction implementation.
Implementations§
Trait Implementations§
Source§impl<K, V, C, P, S> Drop for AsyncRtm<K, V, C, P, S>where
S: AsyncSpawner,
impl<K, V, C, P, S> Drop for AsyncRtm<K, V, C, P, S>where
S: AsyncSpawner,
Auto Trait Implementations§
impl<K, V, C, P, S> !RefUnwindSafe for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> !UnwindSafe for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> Freeze for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> Send for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> Sync for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> Unpin for AsyncRtm<K, V, C, P, S>
impl<K, V, C, P, S> UnsafeUnpin for AsyncRtm<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