Enum rusqlite::DropBehavior
source · pub enum DropBehavior {
Rollback,
Commit,
Ignore,
Panic,
}
Expand description
Options for how a Transaction or Savepoint should behave when it is dropped.
Variants§
Rollback
Roll back the changes. This is the default.
Commit
Commit the changes.
Ignore
Do not commit or roll back changes - this will leave the transaction or savepoint open, so should be used with care.
Panic
Panic. Used to enforce intentional behavior during development.
Trait Implementations§
source§impl Clone for DropBehavior
impl Clone for DropBehavior
source§fn clone(&self) -> DropBehavior
fn clone(&self) -> DropBehavior
Returns a copy 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 more