#[repr(transparent)]pub struct es_new_client_result_t(pub u32);Expand description
Error conditions for creating a new client
Tuple Fields§
§0: u32Implementations§
Source§impl es_new_client_result_t
Variants available from macOS 10.15.0 onwards
impl es_new_client_result_t
Variants available from macOS 10.15.0 onwards
Sourcepub const ES_NEW_CLIENT_RESULT_SUCCESS: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_SUCCESS: es_new_client_result_t
Success case
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_INVALID_ARGUMENT: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_ERR_INVALID_ARGUMENT: es_new_client_result_t
One or more invalid arguments were provided.
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_INTERNAL: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_ERR_INTERNAL: es_new_client_result_t
Communication with the ES subsystem failed, or other error condition.
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_NOT_ENTITLED: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_ERR_NOT_ENTITLED: es_new_client_result_t
The caller is not properly entitled to connect.
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_NOT_PERMITTED: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_ERR_NOT_PERMITTED: es_new_client_result_t
The caller lacks Transparency, Consent, and Control (TCC) approval from the user.
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_NOT_PRIVILEGED: es_new_client_result_t
pub const ES_NEW_CLIENT_RESULT_ERR_NOT_PRIVILEGED: es_new_client_result_t
The caller is not running as root.
Last value for macOS 10.15.0
Sourcepub const LAST_10_15_0: es_new_client_result_t = es_new_client_result_t::ES_NEW_CLIENT_RESULT_ERR_NOT_PRIVILEGED
pub const LAST_10_15_0: es_new_client_result_t = es_new_client_result_t::ES_NEW_CLIENT_RESULT_ERR_NOT_PRIVILEGED
Easily identifiable name for the last member of macOS 10.15.0
Source§impl es_new_client_result_t
Variants available from macOS 10.15.1 onwards
impl es_new_client_result_t
Variants available from macOS 10.15.1 onwards
Sourcepub const ES_NEW_CLIENT_RESULT_ERR_TOO_MANY_CLIENTS: es_new_client_result_t
Available on crate feature macos_10_15_1 only.
pub const ES_NEW_CLIENT_RESULT_ERR_TOO_MANY_CLIENTS: es_new_client_result_t
macos_10_15_1 only.The caller has reached the maximum number of allowed simultaneously connected clients.
Last value for macOS 10.15.1
Sourcepub const LAST_10_15_1: es_new_client_result_t = es_new_client_result_t::ES_NEW_CLIENT_RESULT_ERR_TOO_MANY_CLIENTS
Available on crate feature macos_10_15_1 only.
pub const LAST_10_15_1: es_new_client_result_t = es_new_client_result_t::ES_NEW_CLIENT_RESULT_ERR_TOO_MANY_CLIENTS
macos_10_15_1 only.Easily identifiable name for the last member of macOS 10.15.1
Source§impl es_new_client_result_t
impl es_new_client_result_t
Sourcepub fn ok(self) -> Result<(), NewClientError>
pub fn ok(self) -> Result<(), NewClientError>
Converts an instance of es_new_client_result_t to a Result<(), NewClientError>
Trait Implementations§
Source§impl Clone for es_new_client_result_t
impl Clone for es_new_client_result_t
Source§fn clone(&self) -> es_new_client_result_t
fn clone(&self) -> es_new_client_result_t
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for es_new_client_result_t
impl Debug for es_new_client_result_t
Source§impl Hash for es_new_client_result_t
impl Hash for es_new_client_result_t
Source§impl Ord for es_new_client_result_t
impl Ord for es_new_client_result_t
Source§fn cmp(&self, other: &es_new_client_result_t) -> Ordering
fn cmp(&self, other: &es_new_client_result_t) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for es_new_client_result_t
impl PartialEq for es_new_client_result_t
Source§fn eq(&self, other: &es_new_client_result_t) -> bool
fn eq(&self, other: &es_new_client_result_t) -> bool
self and other values to be equal, and is used by ==.