#[repr(C)]
pub union selinux_callback {
pub func_log: Option<unsafe extern "C" fn(type_: c_int, fmt: *const c_char, ...) -> c_int>,
pub func_audit: Option<unsafe extern "C" fn(auditdata: *mut c_void, cls: security_class_t, msgbuf: *mut c_char, msgbufsize: usize) -> c_int>,
pub func_validate: Option<unsafe extern "C" fn(ctx: *mut *mut c_char) -> c_int>,
pub func_setenforce: Option<unsafe extern "C" fn(enforcing: c_int) -> c_int>,
pub func_policyload: Option<unsafe extern "C" fn(seqno: c_int) -> c_int>,
}
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.