Enum rbatis::executor::RbatisExecutor[][src]

pub enum RbatisExecutor<'r, 'inner> where
    'inner: 'r, 
{ RB(&'r Rbatis), Conn(&'r mut RBatisConnExecutor<'inner>), TX(&'r mut RBatisTxExecutor<'inner>), TxGuard(&'r mut RBatisTxExecutorGuard<'inner>), }
Expand description

must be only one have Some(Value) (&rb).into() &mut tx.as_executor() &mut conn.as_executor() &mut guard.as_executor() (&mut tx).into() (&mut conn).into() (&mut guard).into()

Variants

RB(&'r Rbatis)

Tuple Fields of RB

0: &'r Rbatis
Conn(&'r mut RBatisConnExecutor<'inner>)

Tuple Fields of Conn

0: &'r mut RBatisConnExecutor<'inner>
TX(&'r mut RBatisTxExecutor<'inner>)

Tuple Fields of TX

0: &'r mut RBatisTxExecutor<'inner>
TxGuard(&'r mut RBatisTxExecutorGuard<'inner>)

Tuple Fields of TxGuard

0: &'r mut RBatisTxExecutorGuard<'inner>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

bind arg into DBQuery

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.