#[repr(u64)]pub enum DynamicCode {
Defer = 0,
Prohibit = 1,
Allow = 2,
ProhibitWithOptOut = 3,
}Expand description
Dynamic-code policy modes.
Variants§
Defer = 0
Defer to the child.
Prohibit = 1
Prohibit dynamic code.
Allow = 2
Do not prohibit dynamic code.
ProhibitWithOptOut = 3
Prohibit dynamic code while allowing the child to opt out.
Trait Implementations§
Source§impl Clone for DynamicCode
impl Clone for DynamicCode
Source§fn clone(&self) -> DynamicCode
fn clone(&self) -> DynamicCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DynamicCode
Source§impl Debug for DynamicCode
impl Debug for DynamicCode
Source§impl Default for DynamicCode
impl Default for DynamicCode
Source§fn default() -> DynamicCode
fn default() -> DynamicCode
Returns the “default value” for a type. Read more
impl Eq for DynamicCode
Source§impl Hash for DynamicCode
impl Hash for DynamicCode
Source§impl PartialEq for DynamicCode
impl PartialEq for DynamicCode
impl StructuralPartialEq for DynamicCode
Auto Trait Implementations§
impl Freeze for DynamicCode
impl RefUnwindSafe for DynamicCode
impl Send for DynamicCode
impl Sync for DynamicCode
impl Unpin for DynamicCode
impl UnsafeUnpin for DynamicCode
impl UnwindSafe for DynamicCode
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