pub enum Prot {
None,
Read,
ReadWrite,
ReadWriteExecute,
Custom(u32),
}Expand description
Prot represents a memory protection setting.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prot
impl RefUnwindSafe for Prot
impl Send for Prot
impl Sync for Prot
impl Unpin for Prot
impl UnsafeUnpin for Prot
impl UnwindSafe for Prot
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