pub fn use_persistence_level(level: PersistenceLevel) -> PersistenceLevelGuard
Expand description
Temporarily sets the oplog persistence level to the given value.
When the returned guard is dropped, the original persistence level is restored.
pub fn use_persistence_level(level: PersistenceLevel) -> PersistenceLevelGuard
Temporarily sets the oplog persistence level to the given value.
When the returned guard is dropped, the original persistence level is restored.