#[repr(u32)]pub enum ProtectJitAccess {
ReadWrite = 0,
ReadExecute = 1,
}
Expand description
Values that can be used with protect_jit_memory
function.
Variants§
ReadWrite = 0
Protect JIT memory with Read+Write permissions.
ReadExecute = 1
Protect JIT memory with Read+Execute permissions.
Trait Implementations§
Source§impl Clone for ProtectJitAccess
impl Clone for ProtectJitAccess
Source§fn clone(&self) -> ProtectJitAccess
fn clone(&self) -> ProtectJitAccess
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProtectJitAccess
impl Debug for ProtectJitAccess
Source§impl Hash for ProtectJitAccess
impl Hash for ProtectJitAccess
Source§impl Ord for ProtectJitAccess
impl Ord for ProtectJitAccess
Source§fn cmp(&self, other: &ProtectJitAccess) -> Ordering
fn cmp(&self, other: &ProtectJitAccess) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProtectJitAccess
impl PartialEq for ProtectJitAccess
Source§impl PartialOrd for ProtectJitAccess
impl PartialOrd for ProtectJitAccess
impl Copy for ProtectJitAccess
impl Eq for ProtectJitAccess
impl StructuralPartialEq for ProtectJitAccess
Auto Trait Implementations§
impl Freeze for ProtectJitAccess
impl RefUnwindSafe for ProtectJitAccess
impl Send for ProtectJitAccess
impl Sync for ProtectJitAccess
impl Unpin for ProtectJitAccess
impl UnwindSafe for ProtectJitAccess
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