Home
last modified time | relevance | path

Searched refs:DropBehavior (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/rusqlite/src/
Dtransaction.rs23 pub enum DropBehavior { enum
64 drop_behavior: DropBehavior,
94 drop_behavior: DropBehavior,
125 drop_behavior: DropBehavior::Rollback, in new_unchecked()
167 pub fn drop_behavior(&self) -> DropBehavior { in drop_behavior() argument
173 pub fn set_drop_behavior(&mut self, drop_behavior: DropBehavior) { in set_drop_behavior() argument
211 DropBehavior::Commit => self.commit_().or_else(|_| self.rollback_()), in finish_()
212 DropBehavior::Rollback => self.rollback_(), in finish_()
213 DropBehavior::Ignore => Ok(()), in finish_()
214 DropBehavior::Panic => panic!("Transaction dropped unexpectedly."), in finish_()
[all …]
Dlib.rs82 pub use crate::transaction::{DropBehavior, Savepoint, Transaction, TransactionBehavior};
/external/rust/crates/rusqlite/
DChangelog.md15 * Add DropBehavior::Panic to enforce intentional commit or rollback.