pub enum FileSystemLabelingScheme {
Mountpoint {
sid: SecurityId,
},
FsUse {
fs_use_type: FsUseType,
def_sid: SecurityId,
root_sid: SecurityId,
},
GenFsCon,
}
Variants§
Mountpoint
This filesystem was mounted with “context=”.
Fields
§
sid: SecurityId
FsUse
This filesystem has an “fs_use_xattr”, “fs_use_task”, or “fs_use_trans” entry in the
policy. root_sid
identifies the context for the root of the filesystem and def_sid
identifies the context to use for unlabeled files in the filesystem (the “default
context”).
GenFsCon
This filesystem has one or more “genfscon” statements associated with it in the policy.
Trait Implementations§
Source§impl Clone for FileSystemLabelingScheme
impl Clone for FileSystemLabelingScheme
Source§fn clone(&self) -> FileSystemLabelingScheme
fn clone(&self) -> FileSystemLabelingScheme
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 FileSystemLabelingScheme
impl Debug for FileSystemLabelingScheme
Source§impl PartialEq for FileSystemLabelingScheme
impl PartialEq for FileSystemLabelingScheme
impl StructuralPartialEq for FileSystemLabelingScheme
Auto Trait Implementations§
impl Freeze for FileSystemLabelingScheme
impl RefUnwindSafe for FileSystemLabelingScheme
impl Send for FileSystemLabelingScheme
impl Sync for FileSystemLabelingScheme
impl Unpin for FileSystemLabelingScheme
impl UnwindSafe for FileSystemLabelingScheme
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
)