Struct selinux_sys::avc_log_callback
source · #[repr(C)]pub struct avc_log_callback {
pub func_log: Option<unsafe extern "C" fn(fmt: *const c_char, ...)>,
pub func_audit: Option<unsafe extern "C" fn(auditdata: *mut c_void, cls: security_class_t, msgbuf: *mut c_char, msgbufsize: usize)>,
}
Fields§
§func_log: Option<unsafe extern "C" fn(fmt: *const c_char, ...)>
§func_audit: Option<unsafe extern "C" fn(auditdata: *mut c_void, cls: security_class_t, msgbuf: *mut c_char, msgbufsize: usize)>
Trait Implementations§
source§impl Clone for avc_log_callback
impl Clone for avc_log_callback
source§fn clone(&self) -> avc_log_callback
fn clone(&self) -> avc_log_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_log_callback
impl Debug for avc_log_callback
source§impl Ord for avc_log_callback
impl Ord for avc_log_callback
source§fn cmp(&self, other: &avc_log_callback) -> Ordering
fn cmp(&self, other: &avc_log_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_log_callback
impl PartialEq for avc_log_callback
source§fn eq(&self, other: &avc_log_callback) -> bool
fn eq(&self, other: &avc_log_callback) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for avc_log_callback
impl PartialOrd for avc_log_callback
source§fn partial_cmp(&self, other: &avc_log_callback) -> Option<Ordering>
fn partial_cmp(&self, other: &avc_log_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_log_callback
impl Eq for avc_log_callback
impl StructuralPartialEq for avc_log_callback
Auto Trait Implementations§
impl Freeze for avc_log_callback
impl RefUnwindSafe for avc_log_callback
impl Send for avc_log_callback
impl Sync for avc_log_callback
impl Unpin for avc_log_callback
impl UnwindSafe for avc_log_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