Function transaction::with_ctx
[−]
[src]
pub fn with_ctx<Ctx, F, T, E>(f: F) -> WithCtx<Ctx, F> where
F: Fn(&mut Ctx) -> Result<T, E>,
Receive the context from the executing transaction and perform computation.