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 Eq for DropBehavior
[src]

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) -> bool
1.0.0

This method tests for !=.

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 Copy for DropBehavior
[src]