Struct selinux_sys::avc_thread_callback
source · #[repr(C)]pub struct avc_thread_callback {
pub func_create_thread: Option<unsafe extern "C" fn(run: Option<unsafe extern "C" fn()>) -> *mut c_void>,
pub func_stop_thread: Option<unsafe extern "C" fn(thread: *mut c_void)>,
}
Fields§
§func_create_thread: Option<unsafe extern "C" fn(run: Option<unsafe extern "C" fn()>) -> *mut c_void>
§func_stop_thread: Option<unsafe extern "C" fn(thread: *mut c_void)>
Trait Implementations§
source§impl Clone for avc_thread_callback
impl Clone for avc_thread_callback
source§fn clone(&self) -> avc_thread_callback
fn clone(&self) -> avc_thread_callback
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 avc_thread_callback
impl Debug for avc_thread_callback
source§impl Ord for avc_thread_callback
impl Ord for avc_thread_callback
source§fn cmp(&self, other: &avc_thread_callback) -> Ordering
fn cmp(&self, other: &avc_thread_callback) -> 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 avc_thread_callback
impl PartialEq for avc_thread_callback
source§fn eq(&self, other: &avc_thread_callback) -> bool
fn eq(&self, other: &avc_thread_callback) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for avc_thread_callback
impl PartialOrd for avc_thread_callback
source§fn partial_cmp(&self, other: &avc_thread_callback) -> Option<Ordering>
fn partial_cmp(&self, other: &avc_thread_callback) -> 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 avc_thread_callback
impl Eq for avc_thread_callback
impl StructuralPartialEq for avc_thread_callback
Auto Trait Implementations§
impl Freeze for avc_thread_callback
impl RefUnwindSafe for avc_thread_callback
impl Send for avc_thread_callback
impl Sync for avc_thread_callback
impl Unpin for avc_thread_callback
impl UnwindSafe for avc_thread_callback
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