Struct rbatis::executor::RBatisTxExecutorGuard[][src]

pub struct RBatisTxExecutorGuard<'a> {
    pub tx: Option<RBatisTxExecutor<'a>>,
    pub callback: Box<dyn FnMut(RBatisTxExecutor<'a>) + Send + 'a>,
}

Fields

tx: Option<RBatisTxExecutor<'a>>callback: Box<dyn FnMut(RBatisTxExecutor<'a>) + Send + 'a>

Implementations

Methods from Deref<Target = RBatisTxExecutor<'a>>

Methods from Deref<Target = DBTx<'a>>

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.