pub enum FileClass {
AnonFsNode,
Block,
Character,
Dir,
Fifo,
File,
Link,
Socket,
}
Expand description
A well-known file-like class in SELinux policy that has a particular meaning in policy enforcement hooks.
Variants§
AnonFsNode
The SELinux “anon_inode” object class.
Block
The SELinux “blk_file” object class.
Character
The SELinux “chr_file” object class.
Dir
The SELinux “dir” object class.
Fifo
The SELinux “fifo_file” object class.
File
The SELinux “file” object class.
Link
The SELinux “lnk_file” object class.
Socket
The SELinux “sock_file” object class.
Implementations§
Trait Implementations§
Source§impl From<FileClass> for ObjectClass
impl From<FileClass> for ObjectClass
impl Copy for FileClass
impl Eq for FileClass
impl StructuralPartialEq for FileClass
Auto Trait Implementations§
impl Freeze for FileClass
impl RefUnwindSafe for FileClass
impl Send for FileClass
impl Sync for FileClass
impl Unpin for FileClass
impl UnwindSafe for FileClass
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)