Struct persy::TransactionFinalize [−][src]
pub struct TransactionFinalize { /* fields omitted */ }
Expand description
prepared transaction state
Implementations
Rollback a prepared commit.
All the modification are rolled back and all the used resources are put released
Example
let mut tx = persy.begin()?; //Do what ever operations on the records let data = vec![1;20]; tx.insert("seg", &data)?; let prepared = tx.prepare()?; prepared.rollback()?;
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TransactionFinalize
impl Send for TransactionFinalize
impl Sync for TransactionFinalize
impl Unpin for TransactionFinalize
impl !UnwindSafe for TransactionFinalize