Trait transaction::IntoTransaction
[−]
[src]
pub trait IntoTransaction<Ctx> { type Tx: Transaction<Ctx = Ctx, Item = Self::Item, Err = Self::Err>; type Err; type Item; fn into_transaction(self) -> Self::Tx; }
types than can be converted into transaction
Associated Types
Required Methods
fn into_transaction(self) -> Self::Tx
Implementors
impl<Tx, Ctx> IntoTransaction<Ctx> for Tx where
Tx: Transaction<Ctx = Ctx>,impl<Ctx, Tx1, Tx2> IntoTransaction<Ctx> for (Tx1, Tx2) where
Tx1: IntoTransaction<Ctx>,
Tx2: IntoTransaction<Ctx, Err = Tx1::Err>,impl<Ctx, Tx1, Tx2, Tx3> IntoTransaction<Ctx> for (Tx1, Tx2, Tx3) where
Tx1: IntoTransaction<Ctx>,
Tx2: IntoTransaction<Ctx, Err = Tx1::Err>,
Tx3: IntoTransaction<Ctx, Err = Tx1::Err>,impl<Ctx, Tx1, Tx2, Tx3, Tx4> IntoTransaction<Ctx> for (Tx1, Tx2, Tx3, Tx4) where
Tx1: IntoTransaction<Ctx>,
Tx2: IntoTransaction<Ctx, Err = Tx1::Err>,
Tx3: IntoTransaction<Ctx, Err = Tx1::Err>,
Tx4: IntoTransaction<Ctx, Err = Tx1::Err>,impl<Ctx, T, E> IntoTransaction<Ctx> for Result<T, E> where
T: Clone,
E: Clone,