#[repr(i32)]pub enum MacosErrorCode {
Success = 0,
NotFound = 1,
NotAuthenticated = 2,
PermissionDenied = 3,
VersionOutOfDate = 4,
TryAgain = 5,
NotSupported = 6,
InvalidArgument = 7,
SyncAnchorExpired = 8,
Cancelled = 9,
ProviderNotFound = 10,
Internal = 11,
}Expand description
Product-neutral classification mapped by Swift to NSFileProviderError or CocoaError.
Variants§
Success = 0
Operation completed successfully.
NotFound = 1
Item or container does not exist.
NotAuthenticated = 2
User authentication is required before the operation can continue.
PermissionDenied = 3
The authenticated principal lacks permission for the operation.
VersionOutOfDate = 4
Requested item version is stale.
TryAgain = 5
Request should be retried after a transient condition.
NotSupported = 6
Operation is unsupported by the active adapter/backend.
InvalidArgument = 7
Native request or FFI input is invalid.
SyncAnchorExpired = 8
Enumeration state must be rebuilt from a clean anchor/page.
Cancelled = 9
Request was cancelled.
ProviderNotFound = 10
Extension session is closing or closed.
Internal = 11
Internal, contract, transport, or panic failure.
Trait Implementations§
Source§impl Clone for MacosErrorCode
impl Clone for MacosErrorCode
Source§fn clone(&self) -> MacosErrorCode
fn clone(&self) -> MacosErrorCode
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 MacosErrorCode
impl Debug for MacosErrorCode
Source§impl PartialEq for MacosErrorCode
impl PartialEq for MacosErrorCode
impl Copy for MacosErrorCode
impl Eq for MacosErrorCode
impl StructuralPartialEq for MacosErrorCode
Auto Trait Implementations§
impl Freeze for MacosErrorCode
impl RefUnwindSafe for MacosErrorCode
impl Send for MacosErrorCode
impl Sync for MacosErrorCode
impl Unpin for MacosErrorCode
impl UnwindSafe for MacosErrorCode
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