pub fn pre_commit<T: CommandTransaction, F>( f: F, ) -> ClosurePreCommitInterceptor<T, F>where F: Fn(&mut PreCommitContext<'_, T>) -> Result<()> + Send + Sync + Clone + 'static,