pub type CommitSink = Box<dyn FnMut(&PreparedCommit) -> Result<()> + Send>;Expand description
Sees each commit as it will be applied, before it is: an error fails the commit unapplied. A backend that keeps its records elsewhere persists them here (session-core’s journal; a replay log).
Aliased Type§
pub struct CommitSink(/* private fields */);