pub fn with_persistence_level<R>(
level: PersistenceLevel,
f: impl FnOnce() -> R,
) -> R
Expand description
Executes the given function with the oplog persistence level set to the given value.
pub fn with_persistence_level<R>(
level: PersistenceLevel,
f: impl FnOnce() -> R,
) -> R
Executes the given function with the oplog persistence level set to the given value.