Enum selinux::SocketPermission
source · pub enum SocketPermission {
Common(CommonFilePermission),
}
Expand description
A well-known “sock_file” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
Variants§
Common(CommonFilePermission)
Implementations§
source§impl SocketPermission
impl SocketPermission
pub fn all_variants() -> Vec<Self>
Trait Implementations§
source§impl ClassPermission for SocketPermission
impl ClassPermission for SocketPermission
fn class(&self) -> ObjectClass
source§impl Clone for SocketPermission
impl Clone for SocketPermission
source§fn clone(&self) -> SocketPermission
fn clone(&self) -> SocketPermission
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 SocketPermission
impl Debug for SocketPermission
source§impl From<SocketPermission> for Permission
impl From<SocketPermission> for Permission
source§fn from(v: SocketPermission) -> Self
fn from(v: SocketPermission) -> Self
Converts to this type from the input type.
source§impl Hash for SocketPermission
impl Hash for SocketPermission
source§impl PartialEq for SocketPermission
impl PartialEq for SocketPermission
source§fn eq(&self, other: &SocketPermission) -> bool
fn eq(&self, other: &SocketPermission) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SocketPermission
impl StructuralPartialEq for SocketPermission
Auto Trait Implementations§
impl Freeze for SocketPermission
impl RefUnwindSafe for SocketPermission
impl Send for SocketPermission
impl Sync for SocketPermission
impl Unpin for SocketPermission
impl UnwindSafe for SocketPermission
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)