#[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 · Source§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(&self) -> Result<Self::Query<'_>>
fn begin_command(&self) -> Result<Self::Command<'_>>
fn with_query<F, R>(&self, f: F) -> Result<R, Error>
fn with_command<F, R>(&self, f: F) -> 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§
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