#[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
Variants available from macOS 10.15.0 onwards
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
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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for es_auth_result_t
Source§impl Debug for es_auth_result_t
impl Debug for es_auth_result_t
impl Eq 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 (const: unstable) · 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
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
impl StructuralPartialEq for es_auth_result_t
Auto Trait Implementations§
impl Freeze for es_auth_result_t
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 UnsafeUnpin for es_auth_result_t
impl UnwindSafe for es_auth_result_t
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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