Struct mysql::Transaction [] [src]

pub struct Transaction<'a> {
    // some fields omitted
}

Methods

impl<'a> Transaction<'a>
[src]

Will consume and commit transaction.

Will consume and rollback transaction. You also can rely on Drop implementation but it will swallow errors.

A way to override local infile handler for this transaction. Destructor of transaction will restore original handler.

Trait Implementations

impl<'a> Debug for Transaction<'a>
[src]

Formats the value using the given formatter.

impl<'a> Drop for Transaction<'a>
[src]

Will rollback transaction.