Function use_persistence_level

Source
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.