pub struct FbConnection {
    pub raw: FbRawConnection,
    /* private fields */
}

Fields

raw: FbRawConnection

Trait Implementations

The transaction manager implementation used by this connection

The backend this type connects to

Establishes a new connection to the database Read more

Execute a single SQL statements given by a query and return number of affected rows Read more

Get access to the current transaction state of this connection Read more

Executes the given function inside of a database transaction Read more

Creates a transaction that will never be committed. This is useful for tests. Panics if called while inside of a transaction or if called with a connection containing a broken transaction Read more

Executes the given function inside a transaction, but does not commit it. Panics if the given function returns an error. Read more

The cursor type returned by LoadConnection::load Read more

The row type used as Iterator::Item for the iterator implementation of ConnectionGatWorkaround::Cursor Read more

Executes a given query and returns any requested values Read more

Execute multiple SQL statements within the same string. Read more

Data stored as part of the connection implementation to track the current transaction state of a connection Read more

Begin a new transaction or savepoint Read more

Rollback the inner-most transaction or savepoint Read more

Commit the inner-most transaction or savepoint Read more

Fetch the current transaction status as mutable Read more

Executes the given function inside of a database transaction Read more

This methods checks if the connection manager is considered to be broken by connection pool implementations Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.