Struct selinux::policy::CategoryId
source · pub struct CategoryId(/* private fields */);
Expand description
Identifies a security category within a policy.
Trait Implementations§
source§impl Clone for CategoryId
impl Clone for CategoryId
source§fn clone(&self) -> CategoryId
fn clone(&self) -> CategoryId
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 CategoryId
impl Debug for CategoryId
source§impl Hash for CategoryId
impl Hash for CategoryId
source§impl PartialEq for CategoryId
impl PartialEq for CategoryId
source§fn eq(&self, other: &CategoryId) -> bool
fn eq(&self, other: &CategoryId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CategoryId
impl PartialOrd for CategoryId
source§fn partial_cmp(&self, other: &CategoryId) -> Option<Ordering>
fn partial_cmp(&self, other: &CategoryId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CategoryId
impl Eq for CategoryId
impl StructuralPartialEq for CategoryId
Auto Trait Implementations§
impl Freeze for CategoryId
impl RefUnwindSafe for CategoryId
impl Send for CategoryId
impl Sync for CategoryId
impl Unpin for CategoryId
impl UnwindSafe for CategoryId
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)