Enum rusqlite::DropBehavior
[−]
[src]
pub enum DropBehavior { Rollback, Commit, Ignore, }
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.
Trait Implementations
impl Copy for DropBehavior
[src]
impl Clone for DropBehavior
[src]
fn clone(&self) -> DropBehavior
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DropBehavior
[src]
fn eq(&self, __arg_0: &DropBehavior) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.