Struct endpoint_sec_sys::es_auth_result_t
source · #[repr(transparent)]pub struct es_auth_result_t(pub u32);Available on macOS only.
Expand description
Valid authorization values to be used when responding to a
es_message_t auth event
Tuple Fields§
§0: u32Implementations§
source§impl es_auth_result_t
impl es_auth_result_t
Variants available from macOS 10.15.0 onwards
sourcepub const ES_AUTH_RESULT_ALLOW: es_auth_result_t = _
pub const ES_AUTH_RESULT_ALLOW: es_auth_result_t = _
The event is authorized and should be allowed to continue
sourcepub const ES_AUTH_RESULT_DENY: es_auth_result_t = _
pub const ES_AUTH_RESULT_DENY: es_auth_result_t = _
The event is not authorized and should be blocked
Last value for macOS 10.15.0
sourcepub const LAST_10_15_0: es_auth_result_t = es_auth_result_t::ES_AUTH_RESULT_DENY
pub const LAST_10_15_0: es_auth_result_t = es_auth_result_t::ES_AUTH_RESULT_DENY
Easily identifiable name for the last member of macOS 10.15.0
Trait Implementations§
source§impl Clone for es_auth_result_t
impl Clone for es_auth_result_t
source§fn clone(&self) -> es_auth_result_t
fn clone(&self) -> es_auth_result_t
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 es_auth_result_t
impl Debug for es_auth_result_t
source§impl Hash for es_auth_result_t
impl Hash for es_auth_result_t
source§impl Ord for es_auth_result_t
impl Ord for es_auth_result_t
source§fn cmp(&self, other: &es_auth_result_t) -> Ordering
fn cmp(&self, other: &es_auth_result_t) -> 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 es_auth_result_t
impl PartialEq for es_auth_result_t
source§fn eq(&self, other: &es_auth_result_t) -> bool
fn eq(&self, other: &es_auth_result_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for es_auth_result_t
impl PartialOrd for es_auth_result_t
source§fn partial_cmp(&self, other: &es_auth_result_t) -> Option<Ordering>
fn partial_cmp(&self, other: &es_auth_result_t) -> 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 es_auth_result_t
impl Eq for es_auth_result_t
impl StructuralEq for es_auth_result_t
impl StructuralPartialEq for es_auth_result_t
Auto Trait Implementations§
impl RefUnwindSafe for es_auth_result_t
impl Send for es_auth_result_t
impl Sync for es_auth_result_t
impl Unpin for es_auth_result_t
impl UnwindSafe for es_auth_result_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