pub struct RefSytx<'a> { /* private fields */ }
Expand description
Reference transaction to use with StructsyTx
trait
Trait Implementations§
source§impl<'a> StructsyTx for RefSytx<'a>
impl<'a> StructsyTx for RefSytx<'a>
source§fn insert<T: Persistent>(&mut self, sct: &T) -> SRes<Ref<T>>
fn insert<T: Persistent>(&mut self, sct: &T) -> SRes<Ref<T>>
Persist a new struct instance. Read more
source§fn update<T: Persistent>(&mut self, sref: &Ref<T>, sct: &T) -> SRes<()>
fn update<T: Persistent>(&mut self, sref: &Ref<T>, sct: &T) -> SRes<()>
Update a persistent instance with a new value. Read more
source§fn delete<T: Persistent>(&mut self, sref: &Ref<T>) -> SRes<()>
fn delete<T: Persistent>(&mut self, sref: &Ref<T>) -> SRes<()>
Delete a persistent instance. Read more
impl<'a> Sytx for RefSytx<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RefSytx<'a>
impl<'a> Send for RefSytx<'a>
impl<'a> Sync for RefSytx<'a>
impl<'a> Unpin for RefSytx<'a>
impl<'a> !UnwindSafe for RefSytx<'a>
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