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