pub fn atomically_with_err<T, E, F>(f: F) -> Result<T, E>Expand description
Run a function atomically by using Software Transactional Memory.
It calls to Transaction::with_err internally, but is more explicit.
pub fn atomically_with_err<T, E, F>(f: F) -> Result<T, E>Run a function atomically by using Software Transactional Memory.
It calls to Transaction::with_err internally, but is more explicit.