#[repr(transparent)]pub struct ODFrameworkErrors(pub c_uint);
Available on crate features
CFOpenDirectoryConstants
and CFOpenDirectory
only.Expand description
Errors specific to the framework and to underlying calls
Errors specific to the framework and to underlying calls
See also Apple’s documentation
Tuple Fields§
§0: c_uint
Implementations§
Source§impl ODFrameworkErrors
impl ODFrameworkErrors
pub const ErrorSuccess: Self
pub const ErrorSessionLocalOnlyDaemonInUse: Self
pub const ErrorSessionNormalDaemonInUse: Self
pub const ErrorSessionDaemonNotRunning: Self
pub const ErrorSessionDaemonRefused: Self
pub const ErrorSessionProxyCommunicationError: Self
pub const ErrorSessionProxyVersionMismatch: Self
pub const ErrorSessionProxyIPUnreachable: Self
pub const ErrorSessionProxyUnknownHost: Self
pub const ErrorNodeUnknownName: Self
pub const ErrorNodeUnknownType: Self
pub const ErrorNodeDisabled: Self
pub const ErrorNodeConnectionFailed: Self
pub const ErrorNodeUnknownHost: Self
pub const ErrorQuerySynchronize: Self
pub const ErrorQueryInvalidMatchType: Self
pub const ErrorQueryUnsupportedMatchType: Self
pub const ErrorQueryTimeout: Self
pub const ErrorRecordReadOnlyNode: Self
pub const ErrorRecordPermissionError: Self
pub const ErrorRecordParameterError: Self
pub const ErrorRecordInvalidType: Self
pub const ErrorRecordAlreadyExists: Self
pub const ErrorRecordTypeDisabled: Self
pub const ErrorRecordNoLongerExists: Self
pub const ErrorRecordAttributeUnknownType: Self
pub const ErrorRecordAttributeNotFound: Self
pub const ErrorRecordAttributeValueSchemaError: Self
pub const ErrorRecordAttributeValueNotFound: Self
pub const ErrorCredentialsInvalid: Self
pub const ErrorCredentialsMethodNotSupported: Self
pub const ErrorCredentialsNotAuthorized: Self
pub const ErrorCredentialsParameterError: Self
pub const ErrorCredentialsOperationFailed: Self
pub const ErrorCredentialsServerUnreachable: Self
pub const ErrorCredentialsServerNotFound: Self
pub const ErrorCredentialsServerError: Self
pub const ErrorCredentialsServerTimeout: Self
pub const ErrorCredentialsContactPrimary: Self
pub const ErrorCredentialsContactMaster: Self
👎Deprecated
pub const ErrorCredentialsServerCommunicationError: Self
pub const ErrorCredentialsAccountNotFound: Self
pub const ErrorCredentialsAccountDisabled: Self
pub const ErrorCredentialsAccountExpired: Self
pub const ErrorCredentialsAccountInactive: Self
pub const ErrorCredentialsAccountTemporarilyLocked: Self
pub const ErrorCredentialsAccountLocked: Self
pub const ErrorCredentialsPasswordExpired: Self
pub const ErrorCredentialsPasswordChangeRequired: Self
pub const ErrorCredentialsPasswordQualityFailed: Self
pub const ErrorCredentialsPasswordTooShort: Self
pub const ErrorCredentialsPasswordTooLong: Self
pub const ErrorCredentialsPasswordNeedsLetter: Self
pub const ErrorCredentialsPasswordNeedsDigit: Self
pub const ErrorCredentialsPasswordChangeTooSoon: Self
pub const ErrorCredentialsPasswordUnrecoverable: Self
pub const ErrorCredentialsInvalidLogonHours: Self
pub const ErrorCredentialsInvalidComputer: Self
pub const ErrorPolicyUnsupported: Self
pub const ErrorPolicyOutOfRange: Self
pub const ErrorPluginOperationNotSupported: Self
pub const ErrorPluginError: Self
pub const ErrorDaemonError: Self
pub const ErrorPluginOperationTimeout: Self
Trait Implementations§
Source§impl Clone for ODFrameworkErrors
impl Clone for ODFrameworkErrors
Source§fn clone(&self) -> ODFrameworkErrors
fn clone(&self) -> ODFrameworkErrors
Returns a duplicate 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 ODFrameworkErrors
impl Debug for ODFrameworkErrors
Source§impl Encode for ODFrameworkErrors
impl Encode for ODFrameworkErrors
Source§impl Hash for ODFrameworkErrors
impl Hash for ODFrameworkErrors
Source§impl Ord for ODFrameworkErrors
impl Ord for ODFrameworkErrors
Source§fn cmp(&self, other: &ODFrameworkErrors) -> Ordering
fn cmp(&self, other: &ODFrameworkErrors) -> 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 ODFrameworkErrors
impl PartialEq for ODFrameworkErrors
Source§impl PartialOrd for ODFrameworkErrors
impl PartialOrd for ODFrameworkErrors
Source§impl RefEncode for ODFrameworkErrors
impl RefEncode for ODFrameworkErrors
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for ODFrameworkErrors
impl Eq for ODFrameworkErrors
impl StructuralPartialEq for ODFrameworkErrors
Auto Trait Implementations§
impl Freeze for ODFrameworkErrors
impl RefUnwindSafe for ODFrameworkErrors
impl Send for ODFrameworkErrors
impl Sync for ODFrameworkErrors
impl Unpin for ODFrameworkErrors
impl UnwindSafe for ODFrameworkErrors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.