Struct transaction_diesel::WithConn [] [src]

pub struct WithConn<'a, Conn: 'a, F> { /* fields omitted */ }

The result of with_conn

Trait Implementations

impl<'a, Conn: Debug + 'a, F: Debug> Debug for WithConn<'a, Conn, F>
[src]

[src]

Formats the value using the given formatter.

impl<'a, Conn, T, E, F> Transaction for WithConn<'a, Conn, F> where
    F: Fn(&'a Conn) -> Result<T, E>, 
[src]

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

The return type of the transaction

The error type of the transaction

[src]

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

[src]

Box the transaction

[src]

Take the previous result of computation and do another computation

[src]

Transform the previous successful value

[src]

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

[src]

Transform the previous error value

[src]

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

[src]

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

[src]

Try to abort the transaction

[src]

Recover from an error

[src]

Try to recover from an error

[src]

join 2 indepndant transactions

[src]

join 3 indepndant transactions

[src]

join 4 indepndant transactions

[src]

branch builder

[src]

3 branch builder

[src]

4 branch builder