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 Copy for DropBehavior
impl Clone for DropBehavior
[src]
impl Clone for DropBehavior
fn clone(&self) -> DropBehavior
[src]
fn clone(&self) -> DropBehavior
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for DropBehavior
[src]
impl PartialEq for DropBehavior
fn eq(&self, __arg_0: &DropBehavior) -> bool
[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) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for DropBehavior
[src]
impl Eq for DropBehavior
Auto Trait Implementations
impl Send for DropBehavior
impl Send for DropBehavior
impl Sync for DropBehavior
impl Sync for DropBehavior