#[non_exhaustive]#[repr(u32)]pub enum PT_ENUMFLAGS32_keyctl_operations {
Show 34 variants
KEYCTL_GET_KEYRING_ID,
KEYCTL_JOIN_SESSION_KEYRING,
KEYCTL_UPDATE,
KEYCTL_REVOKE,
KEYCTL_CHOWN,
KEYCTL_SETPERM,
KEYCTL_DESCRIBE,
KEYCTL_CLEAR,
KEYCTL_LINK,
KEYCTL_UNLINK,
KEYCTL_SEARCH,
KEYCTL_READ,
KEYCTL_INSTANTIATE,
KEYCTL_NEGATE,
KEYCTL_SET_REQKEY_KEYRING,
KEYCTL_SET_TIMEOUT,
KEYCTL_ASSUME_AUTHORITY,
KEYCTL_GET_SECURITY,
KEYCTL_SESSION_TO_PARENT,
KEYCTL_REJECT,
KEYCTL_INSTANTIATE_IOV,
KEYCTL_INVALIDATE,
KEYCTL_GET_PERSISTENT,
KEYCTL_DH_COMPUTE,
KEYCTL_PKEY_QUERY,
KEYCTL_PKEY_ENCRYPT,
KEYCTL_PKEY_DECRYPT,
KEYCTL_PKEY_SIGN,
KEYCTL_PKEY_VERIFY,
KEYCTL_RESTRICT_KEYRING,
KEYCTL_MOVE,
KEYCTL_CAPABILITIES,
KEYCTL_WATCH_KEY,
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.
KEYCTL_GET_KEYRING_ID
KEYCTL_JOIN_SESSION_KEYRING
KEYCTL_UPDATE
KEYCTL_REVOKE
KEYCTL_CHOWN
KEYCTL_SETPERM
KEYCTL_DESCRIBE
KEYCTL_CLEAR
KEYCTL_LINK
KEYCTL_UNLINK
KEYCTL_SEARCH
KEYCTL_READ
KEYCTL_INSTANTIATE
KEYCTL_NEGATE
KEYCTL_SET_REQKEY_KEYRING
KEYCTL_SET_TIMEOUT
KEYCTL_ASSUME_AUTHORITY
KEYCTL_GET_SECURITY
KEYCTL_SESSION_TO_PARENT
KEYCTL_REJECT
KEYCTL_INSTANTIATE_IOV
KEYCTL_INVALIDATE
KEYCTL_GET_PERSISTENT
KEYCTL_DH_COMPUTE
KEYCTL_PKEY_QUERY
KEYCTL_PKEY_ENCRYPT
KEYCTL_PKEY_DECRYPT
KEYCTL_PKEY_SIGN
KEYCTL_PKEY_VERIFY
KEYCTL_RESTRICT_KEYRING
KEYCTL_MOVE
KEYCTL_CAPABILITIES
KEYCTL_WATCH_KEY
Unknown(usize)
Implementations§
Trait Implementations§
Source§impl Clone for PT_ENUMFLAGS32_keyctl_operations
impl Clone for PT_ENUMFLAGS32_keyctl_operations
Source§fn clone(&self) -> PT_ENUMFLAGS32_keyctl_operations
fn clone(&self) -> PT_ENUMFLAGS32_keyctl_operations
Returns a duplicate 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 From<PT_ENUMFLAGS32_keyctl_operations> for u32
impl From<PT_ENUMFLAGS32_keyctl_operations> for u32
Source§fn from(val: PT_ENUMFLAGS32_keyctl_operations) -> u32
fn from(val: PT_ENUMFLAGS32_keyctl_operations) -> u32
Converts to this type from the input type.
Source§impl From<u32> for PT_ENUMFLAGS32_keyctl_operations
impl From<u32> for PT_ENUMFLAGS32_keyctl_operations
Source§impl FromBytes<'_> for PT_ENUMFLAGS32_keyctl_operations
impl FromBytes<'_> for PT_ENUMFLAGS32_keyctl_operations
Source§fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> Result<Self, FromBytesError>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]>) -> Result<Self, FromBytesError>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
Read the binary representation of a field from a buffer that may or may not exist Read more
Source§impl Ord for PT_ENUMFLAGS32_keyctl_operations
impl Ord for PT_ENUMFLAGS32_keyctl_operations
Source§fn cmp(&self, other: &PT_ENUMFLAGS32_keyctl_operations) -> Ordering
fn cmp(&self, other: &PT_ENUMFLAGS32_keyctl_operations) -> 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_keyctl_operations
impl PartialEq for PT_ENUMFLAGS32_keyctl_operations
Source§fn eq(&self, other: &PT_ENUMFLAGS32_keyctl_operations) -> bool
fn eq(&self, other: &PT_ENUMFLAGS32_keyctl_operations) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PT_ENUMFLAGS32_keyctl_operations
impl PartialOrd for PT_ENUMFLAGS32_keyctl_operations
impl Copy for PT_ENUMFLAGS32_keyctl_operations
impl Eq for PT_ENUMFLAGS32_keyctl_operations
impl StructuralPartialEq for PT_ENUMFLAGS32_keyctl_operations
Auto Trait Implementations§
impl Freeze for PT_ENUMFLAGS32_keyctl_operations
impl RefUnwindSafe for PT_ENUMFLAGS32_keyctl_operations
impl Send for PT_ENUMFLAGS32_keyctl_operations
impl Sync for PT_ENUMFLAGS32_keyctl_operations
impl Unpin for PT_ENUMFLAGS32_keyctl_operations
impl UnsafeUnpin for PT_ENUMFLAGS32_keyctl_operations
impl UnwindSafe for PT_ENUMFLAGS32_keyctl_operations
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