#[non_exhaustive]#[repr(u32)]pub enum PT_ENUMFLAGS32_prctl_options {
Show 23 variants
PR_GET_DUMPABLE,
PR_SET_DUMPABLE,
PR_GET_KEEPCAPS,
PR_SET_KEEPCAPS,
PR_SET_NAME,
PR_GET_NAME,
PR_GET_SECCOMP,
PR_SET_SECCOMP,
PR_CAPBSET_READ,
PR_CAPBSET_DROP,
PR_GET_SECUREBITS,
PR_SET_SECUREBITS,
PR_MCE_KILL,
PR_SET_MM,
PR_SET_CHILD_SUBREAPER,
PR_GET_CHILD_SUBREAPER,
PR_SET_NO_NEW_PRIVS,
PR_GET_NO_NEW_PRIVS,
PR_GET_TID_ADDRESS,
PR_SET_THP_DISABLE,
PR_GET_THP_DISABLE,
PR_CAP_AMBIENT,
Unknown(usize),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PR_GET_DUMPABLE
PR_SET_DUMPABLE
PR_GET_KEEPCAPS
PR_SET_KEEPCAPS
PR_SET_NAME
PR_GET_NAME
PR_GET_SECCOMP
PR_SET_SECCOMP
PR_CAPBSET_READ
PR_CAPBSET_DROP
PR_GET_SECUREBITS
PR_SET_SECUREBITS
PR_MCE_KILL
PR_SET_MM
PR_SET_CHILD_SUBREAPER
PR_GET_CHILD_SUBREAPER
PR_SET_NO_NEW_PRIVS
PR_GET_NO_NEW_PRIVS
PR_GET_TID_ADDRESS
PR_SET_THP_DISABLE
PR_GET_THP_DISABLE
PR_CAP_AMBIENT
Unknown(usize)
Trait Implementations§
source§impl Clone for PT_ENUMFLAGS32_prctl_options
impl Clone for PT_ENUMFLAGS32_prctl_options
source§fn clone(&self) -> PT_ENUMFLAGS32_prctl_options
fn clone(&self) -> PT_ENUMFLAGS32_prctl_options
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PT_ENUMFLAGS32_prctl_options
impl Debug for PT_ENUMFLAGS32_prctl_options
source§impl<'de> Deserialize<'de> for PT_ENUMFLAGS32_prctl_options
impl<'de> Deserialize<'de> for PT_ENUMFLAGS32_prctl_options
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F> Format<F> for PT_ENUMFLAGS32_prctl_options
impl<F> Format<F> for PT_ENUMFLAGS32_prctl_options
source§impl From<PT_ENUMFLAGS32_prctl_options> for u32
impl From<PT_ENUMFLAGS32_prctl_options> for u32
source§fn from(val: PT_ENUMFLAGS32_prctl_options) -> u32
fn from(val: PT_ENUMFLAGS32_prctl_options) -> u32
Converts to this type from the input type.
source§impl From<u32> for PT_ENUMFLAGS32_prctl_options
impl From<u32> for PT_ENUMFLAGS32_prctl_options
source§impl FromBytes<'_> for PT_ENUMFLAGS32_prctl_options
impl FromBytes<'_> for PT_ENUMFLAGS32_prctl_options
source§fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
Read the binary representation of a field and return the parsed representation Read more
source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
Read the binary representation of a field from a buffer that may or may not exist Read more
source§impl Hash for PT_ENUMFLAGS32_prctl_options
impl Hash for PT_ENUMFLAGS32_prctl_options
source§impl Ord for PT_ENUMFLAGS32_prctl_options
impl Ord for PT_ENUMFLAGS32_prctl_options
source§fn cmp(&self, other: &PT_ENUMFLAGS32_prctl_options) -> Ordering
fn cmp(&self, other: &PT_ENUMFLAGS32_prctl_options) -> 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 PT_ENUMFLAGS32_prctl_options
impl PartialEq for PT_ENUMFLAGS32_prctl_options
source§fn eq(&self, other: &PT_ENUMFLAGS32_prctl_options) -> bool
fn eq(&self, other: &PT_ENUMFLAGS32_prctl_options) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for PT_ENUMFLAGS32_prctl_options
impl PartialOrd for PT_ENUMFLAGS32_prctl_options
impl Copy for PT_ENUMFLAGS32_prctl_options
impl Eq for PT_ENUMFLAGS32_prctl_options
impl StructuralPartialEq for PT_ENUMFLAGS32_prctl_options
Auto Trait Implementations§
impl Freeze for PT_ENUMFLAGS32_prctl_options
impl RefUnwindSafe for PT_ENUMFLAGS32_prctl_options
impl Send for PT_ENUMFLAGS32_prctl_options
impl Sync for PT_ENUMFLAGS32_prctl_options
impl Unpin for PT_ENUMFLAGS32_prctl_options
impl UnwindSafe for PT_ENUMFLAGS32_prctl_options
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)