#[repr(C)]pub struct audit_token_t {
pub val: [c_uint; 8],
}Available on macOS only.
Expand description
The audit token is an opaque token which identifies Mach tasks and senders of Mach messages as subjects to the BSM audit system. Only the appropriate BSM library routines should be used to interpret the contents of the audit token as the representation of the subject identity within the token may change over time.
Starting with macOS 11, almost all audit functions have been deprecated (see the system
header bsm/libbsm.h), do not use them if your program target more recent versions of
macOS.
Fields§
§val: [c_uint; 8]Value of the token
This is considered an opaque value, do not rely on its format
Trait Implementations§
Source§impl Clone for audit_token_t
impl Clone for audit_token_t
Source§fn clone(&self) -> audit_token_t
fn clone(&self) -> audit_token_t
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for audit_token_t
impl Debug for audit_token_t
Source§impl Default for audit_token_t
impl Default for audit_token_t
Source§fn default() -> audit_token_t
fn default() -> audit_token_t
Returns the “default value” for a type. Read more
Source§impl Hash for audit_token_t
impl Hash for audit_token_t
Source§impl LowerHex for audit_token_t
impl LowerHex for audit_token_t
Source§impl PartialEq for audit_token_t
impl PartialEq for audit_token_t
Source§impl UpperHex for audit_token_t
impl UpperHex for audit_token_t
impl Copy for audit_token_t
impl Eq for audit_token_t
impl StructuralPartialEq for audit_token_t
Auto Trait Implementations§
impl Freeze for audit_token_t
impl RefUnwindSafe for audit_token_t
impl Send for audit_token_t
impl Sync for audit_token_t
impl Unpin for audit_token_t
impl UnwindSafe for audit_token_t
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