#[repr(u8)]pub enum TransactionSingleVersion {
SingleVersionLock(TransactionSvl),
}Variants§
SingleVersionLock(TransactionSvl)
Implementations§
Source§impl TransactionSingleVersion
impl TransactionSingleVersion
pub fn svl(store: TransactionStore, bus: EventBus) -> Self
Trait Implementations§
Source§impl Clone for TransactionSingleVersion
impl Clone for TransactionSingleVersion
Source§fn clone(&self) -> TransactionSingleVersion
fn clone(&self) -> TransactionSingleVersion
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl SingleVersionTransaction for TransactionSingleVersion
impl SingleVersionTransaction for TransactionSingleVersion
type Query<'a> = SvlQueryTransaction<'a>
type Command<'a> = SvlCommandTransaction<'a>
fn begin_query<'a, I>(&self, keys: I) -> Result<Self::Query<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
fn begin_command<'a, I>(&self, keys: I) -> Result<Self::Command<'_>>where
I: IntoIterator<Item = &'a EncodedKey>,
fn with_query<'a, I, F, R>(&self, keys: I, f: F) -> Result<R, Error>
fn with_command<'a, I, F, R>(&self, keys: I, f: F) -> Result<R, Error>where
I: IntoIterator<Item = &'a EncodedKey>,
F: FnOnce(&mut Self::Command<'_>) -> Result<R, Error>,
Auto Trait Implementations§
impl Freeze for TransactionSingleVersion
impl !RefUnwindSafe for TransactionSingleVersion
impl Send for TransactionSingleVersion
impl Sync for TransactionSingleVersion
impl Unpin for TransactionSingleVersion
impl !UnwindSafe for TransactionSingleVersion
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)