#[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
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 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 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§impl PartialOrd for es_auth_result_t
impl PartialOrd for es_auth_result_t
impl Copy for es_auth_result_t
impl Eq 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 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