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