Enum rusqlite::DropBehavior
[−]
[src]
pub enum DropBehavior {
Rollback,
Commit,
Ignore,
}Options for how a Transaction or Savepoint should behave when it is dropped.
Variants
RollbackRoll back the changes. This is the default.
CommitCommit the changes.
IgnoreDo not commit or roll back changes - this will leave the transaction or savepoint open, so should be used with care.
Trait Implementations
impl Copy for DropBehavior[src]
impl Clone for DropBehavior[src]
fn clone(&self) -> DropBehavior
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for DropBehavior[src]
fn eq(&self, __arg_0: &DropBehavior) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.