Struct mysql::Transaction [] [src]

pub struct Transaction<'a> { /* 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> GenericConnection for Transaction<'a>
[src]

See Conn#query. Read more

See Conn#first. Read more

See Conn#prepare. Read more

See Conn#prep_exec. Read more

See Conn#first_exec. Read more

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

Will rollback transaction.