Function with_persistence_level

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