pub struct RemoteProtectionGuard { /* private fields */ }Expand description
RAII guard for remote memory protection changes
Implementations§
Source§impl RemoteProtectionGuard
impl RemoteProtectionGuard
Sourcepub fn old_protection(&self) -> u32
pub fn old_protection(&self) -> u32
get the old protection that will be restored
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteProtectionGuard
impl RefUnwindSafe for RemoteProtectionGuard
impl Send for RemoteProtectionGuard
impl Sync for RemoteProtectionGuard
impl Unpin for RemoteProtectionGuard
impl UnwindSafe for RemoteProtectionGuard
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