Skip to main content

open_batch

Function open_batch 

Source
pub fn open_batch<R>(f: impl FnOnce(&mut AtRestOpener) -> R) -> R
Expand description

Opens many at-rest strings for one vault read and one key schedule, where maybe_decrypt pays both per string (the vault read is nearly all of it). Sync, and the opener cannot leave the closure, so the key never crosses an await.