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