pub enum NetlinkCryptoSocketPermission {
Common(CommonSocketPermission),
}Expand description
A well-known “netlink_crypto_socket” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
Variants§
Common(CommonSocketPermission)
Implementations§
Source§impl NetlinkCryptoSocketPermission
impl NetlinkCryptoSocketPermission
pub fn all_variants() -> impl Iterator<Item = Self>
Trait Implementations§
Source§impl ClassPermission for NetlinkCryptoSocketPermission
impl ClassPermission for NetlinkCryptoSocketPermission
fn class(&self) -> KernelClass
Source§impl Clone for NetlinkCryptoSocketPermission
impl Clone for NetlinkCryptoSocketPermission
Source§fn clone(&self) -> NetlinkCryptoSocketPermission
fn clone(&self) -> NetlinkCryptoSocketPermission
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<NetlinkCryptoSocketPermission> for KernelPermission
impl From<NetlinkCryptoSocketPermission> for KernelPermission
Source§fn from(v: NetlinkCryptoSocketPermission) -> Self
fn from(v: NetlinkCryptoSocketPermission) -> Self
Converts to this type from the input type.
Source§impl Hash for NetlinkCryptoSocketPermission
impl Hash for NetlinkCryptoSocketPermission
Source§impl PartialEq for NetlinkCryptoSocketPermission
impl PartialEq for NetlinkCryptoSocketPermission
Source§fn eq(&self, other: &NetlinkCryptoSocketPermission) -> bool
fn eq(&self, other: &NetlinkCryptoSocketPermission) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NetlinkCryptoSocketPermission
impl StructuralPartialEq for NetlinkCryptoSocketPermission
Auto Trait Implementations§
impl Freeze for NetlinkCryptoSocketPermission
impl RefUnwindSafe for NetlinkCryptoSocketPermission
impl Send for NetlinkCryptoSocketPermission
impl Sync for NetlinkCryptoSocketPermission
impl Unpin for NetlinkCryptoSocketPermission
impl UnwindSafe for NetlinkCryptoSocketPermission
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