pub struct ProtectGuard { /* private fields */ }
Expand description
A RAII implementation of a scoped protection guard.
When this structure is dropped (falls out of scope), the memory regions’ protection will be reset.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtectGuard
impl RefUnwindSafe for ProtectGuard
impl Unpin for ProtectGuard
impl UnwindSafe for ProtectGuard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more