Function transaction::abort [] [src]

pub fn abort<Ctx, A, T, F>(a: A, f: F) -> Abort<A::Tx, T, F> where
    A: IntoTransaction<Ctx>,
    F: Fn(A::Item) -> A::Err

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