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