pub fn with_persistence_level<R>(
level: PersistenceLevel,
f: impl FnOnce() -> R,
) -> RExpand 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,
) -> RExecutes the given function with the oplog persistence level set to the given value.