#[repr(C)]pub struct KeyPolicy(_);
Implementations
sourceimpl KeyPolicy
impl KeyPolicy
pub const MRENCLAVE: KeyPolicy = _
pub const MRSIGNER: KeyPolicy = _
pub const NOISVPRODID: KeyPolicy = _
pub const CONFIGID: KeyPolicy = _
pub const ISVFAMILYID: KeyPolicy = _
pub const ISVEXTPRODID: KeyPolicy = _
pub const KSS: KeyPolicy = _
pub const fn empty() -> KeyPolicy
pub const fn all() -> KeyPolicy
pub const fn bits(&self) -> u16
pub fn from_bits(bits: u16) -> Option<KeyPolicy>
pub const fn from_bits_truncate(bits: u16) -> KeyPolicy
sourcepub const unsafe fn from_bits_unchecked(bits: u16) -> KeyPolicy
pub const unsafe fn from_bits_unchecked(bits: u16) -> KeyPolicy
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: KeyPolicy) -> bool
pub const fn intersects(&self, other: KeyPolicy) -> bool
pub fn insert(&mut self, other: KeyPolicy)
pub fn remove(&mut self, other: KeyPolicy)
pub fn toggle(&mut self, other: KeyPolicy)
Trait Implementations
sourceimpl BitAndAssign<KeyPolicy> for KeyPolicy
impl BitAndAssign<KeyPolicy> for KeyPolicy
sourcefn bitand_assign(&mut self, rhs: KeyPolicy)
fn bitand_assign(&mut self, rhs: KeyPolicy)
Performs the
&=
operation. Read moresourceimpl BitOrAssign<KeyPolicy> for KeyPolicy
impl BitOrAssign<KeyPolicy> for KeyPolicy
sourcefn bitor_assign(&mut self, rhs: KeyPolicy)
fn bitor_assign(&mut self, rhs: KeyPolicy)
Performs the
|=
operation. Read moresourceimpl BitXorAssign<KeyPolicy> for KeyPolicy
impl BitXorAssign<KeyPolicy> for KeyPolicy
sourcefn bitxor_assign(&mut self, rhs: KeyPolicy)
fn bitxor_assign(&mut self, rhs: KeyPolicy)
Performs the
^=
operation. Read moresourceimpl SubAssign<KeyPolicy> for KeyPolicy
impl SubAssign<KeyPolicy> for KeyPolicy
sourcefn sub_assign(&mut self, rhs: KeyPolicy)
fn sub_assign(&mut self, rhs: KeyPolicy)
Performs the
-=
operation. Read moreimpl ContiguousMemory for KeyPolicy
impl Copy for KeyPolicy
impl Eq for KeyPolicy
impl StructuralEq for KeyPolicy
impl StructuralPartialEq for KeyPolicy
Auto Trait Implementations
impl RefUnwindSafe for KeyPolicy
impl Send for KeyPolicy
impl Sync for KeyPolicy
impl Unpin for KeyPolicy
impl UnwindSafe for KeyPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more