Enum transaction::Branch3 [] [src]

#[must_use]
pub enum Branch3<Tx1, Tx2, Tx3> { B1(Tx1), B2(Tx2), B3(Tx3), }

The result of branch3

Variants

Trait Implementations

impl<Tx1: Debug, Tx2: Debug, Tx3: Debug> Debug for Branch3<Tx1, Tx2, Tx3>
[src]

Formats the value using the given formatter.

impl<Tx1, Tx2, Tx3> Transaction for Branch3<Tx1, Tx2, Tx3> where
    Tx1: Transaction,
    Tx2: Transaction<Ctx = Tx1::Ctx, Item = Tx1::Item, Err = Tx1::Err>,
    Tx3: Transaction<Ctx = Tx1::Ctx, Item = Tx1::Item, Err = Tx1::Err>, 
[src]

The contxt type (i.e. transaction type) of the transaction

The return type of the transaction

The error type of the transaction

Run the transaction. This will called by transaction runner rather than user by hand. Read more

Box the transaction

Take the previous result of computation and do another computation

Transform the previous successful value

Take the previous successful value of computation and do another computation Read more

Transform the previous error value

Take the previous error value of computation and do another computation. This may be used falling back Read more

Take the previous successfull value of computation and abort the transaction. Read more

Try to abort the transaction

Recover from an error

Try to recover from an error

join 2 indepndant transactions

join 3 indepndant transactions

join 4 indepndant transactions

branch builder

3 branch builder

4 branch builder