Enum rusqlite::DropBehavior [] [src]

pub enum DropBehavior {
    Rollback,
    Commit,
    Ignore,
}

Options for how a Transaction or Savepoint should behave when it is dropped.

Variants

Roll back the changes. This is the default.

Commit the changes.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DropBehavior
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DropBehavior
[src]