Skip to main content

Hold

Type Alias Hold 

Source
pub type Hold<'a> = &'a dyn Fn(&mut dyn FnMut() -> Result<Attempt>) -> Result<Attempt>;
Expand description

Run f while writes to the store are held off, when the caller can hold them: the server passes its store’s read lock, a separate process cannot and passes unheld.