Trait dryoc::protected::Unlock[][src]

pub trait Unlock<A: Zeroize + Bytes, PM: ProtectMode> {
    fn munlock(self) -> Result<Protected<A, PM, Unlocked>, Error>;
}
This is supported on crate feature nightly only.
Expand description

Protected region of memory that can be locked (i.e., is already locked).

Required methods

Unlocks a region of memory, using munlock() on UNIX, or VirtualLock() on Windows.

Implementors