Struct selinux_sys::security_id
source · #[repr(C)]pub struct security_id {
pub ctx: *mut c_char,
pub refcnt: c_uint,
}
Fields§
§ctx: *mut c_char
§refcnt: c_uint
Trait Implementations§
source§impl Clone for security_id
impl Clone for security_id
source§fn clone(&self) -> security_id
fn clone(&self) -> security_id
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 security_id
impl Debug for security_id
source§impl Ord for security_id
impl Ord for security_id
source§fn cmp(&self, other: &security_id) -> Ordering
fn cmp(&self, other: &security_id) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for security_id
impl PartialEq for security_id
source§fn eq(&self, other: &security_id) -> bool
fn eq(&self, other: &security_id) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for security_id
impl PartialOrd for security_id
source§fn partial_cmp(&self, other: &security_id) -> Option<Ordering>
fn partial_cmp(&self, other: &security_id) -> 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 security_id
impl Eq for security_id
impl StructuralPartialEq for security_id
Auto Trait Implementations§
impl Freeze for security_id
impl RefUnwindSafe for security_id
impl !Send for security_id
impl !Sync for security_id
impl Unpin for security_id
impl UnwindSafe for security_id
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