Struct selinux::avc::SecurityID

source ·
pub struct SecurityID<'id> { /* private fields */ }
Expand description

SELinux security identifier.

Implementations

Return true if the security identifier is unspecified.

Return false if security context translation must be performed.

Return the managed raw pointer to selinux_sys::security_id.

Return the managed raw pointer to selinux_sys::security_id.

Trait Implementations

Formats the value using the given formatter. Read more

Return an unspecified security identifier.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.