#[repr(u64)]pub enum ReferenceInitialSid {
Kernel = 1,
Security = 2,
Unlabeled = 3,
_Fs = 4,
File = 5,
_Port = 9,
_Netif = 10,
_Netmsg = 11,
_Node = 12,
_Sysctl = 17,
Devnull = 27,
FirstUnused = 28,
}Expand description
Initial Security Identifier (SID) values defined by the SELinux Reference Policy. Where the SELinux Reference Policy retains definitions for some deprecated initial SIDs, this enum omits deprecated entries for clarity.
Variants§
Kernel = 1
Security = 2
Unlabeled = 3
_Fs = 4
File = 5
_Port = 9
_Netif = 10
_Netmsg = 11
_Node = 12
_Sysctl = 17
Devnull = 27
FirstUnused = 28
Lowest Security Identifier value guaranteed not to be used by this implementation to refer to an initial Security Context.
Auto Trait Implementations§
impl Freeze for ReferenceInitialSid
impl RefUnwindSafe for ReferenceInitialSid
impl Send for ReferenceInitialSid
impl Sync for ReferenceInitialSid
impl Unpin for ReferenceInitialSid
impl UnsafeUnpin for ReferenceInitialSid
impl UnwindSafe for ReferenceInitialSid
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more