Trait dryoc::protected::ProtectNoAccess  
source · pub trait ProtectNoAccess<A: Zeroize + Bytes, PM: ProtectMode> {
    // Required method
    fn mprotect_noaccess(
        self
    ) -> Result<Protected<A, NoAccess, Unlocked>, Error>;
}Available on crate feature 
nightly only.Expand description
Protected region of memory that can be set as no-access. Must be unlocked.
Required Methods§
sourcefn mprotect_noaccess(self) -> Result<Protected<A, NoAccess, Unlocked>, Error>
 
fn mprotect_noaccess(self) -> Result<Protected<A, NoAccess, Unlocked>, Error>
Protects an unlocked region of memory as no-access (and no exec), using
mprotect() on UNIX, or VirtualProtect() on Windows.