pub struct ValidTransactionManagerStatus { /* private fields */ }
Expand description

Valid transaction status for the manager. Can return the current transaction depth

Implementations

Return the current transaction depth

This value is None if no current transaction is running otherwise the number of nested transactions is returned.

Update the transaction depth by adding the value of the transaction_depth_change parameter if the query is Ok(())

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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
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.