#[repr(transparent)]pub struct ICReturnCode(pub NSInteger);Available on crate feature
ImageCaptureConstants only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ICReturnCode
impl ICReturnCode
pub const Success: Self
pub const InvalidParam: Self
pub const CommunicationTimedOut: Self
pub const ScanOperationCanceled: Self
pub const ScannerInUseByLocalUser: Self
pub const ScannerInUseByRemoteUser: Self
pub const DeviceFailedToOpenSession: Self
pub const DeviceFailedToCloseSession: Self
pub const ScannerFailedToSelectFunctionalUnit: Self
pub const ScannerFailedToCompleteOverviewScan: Self
pub const ScannerFailedToCompleteScan: Self
pub const ReceivedUnsolicitedScannerStatusInfo: Self
pub const ReceivedUnsolicitedScannerErrorInfo: Self
pub const DownloadFailed: Self
pub const UploadFailed: Self
pub const FailedToCompletePassThroughCommand: Self
pub const DownloadCanceled: Self
pub const FailedToEnabeTethering: Self
pub const FailedToDisabeTethering: Self
pub const FailedToCompleteSendMessageRequest: Self
pub const DeleteFilesFailed: Self
pub const DeleteFilesCanceled: Self
pub const DeviceIsPasscodeLocked: Self
pub const DeviceFailedToTakePicture: Self
pub const DeviceSoftwareNotInstalled: Self
pub const DeviceSoftwareIsBeingInstalled: Self
pub const DeviceSoftwareInstallationCompleted: Self
pub const DeviceSoftwareInstallationCanceled: Self
pub const DeviceSoftwareInstallationFailed: Self
pub const DeviceSoftwareNotAvailable: Self
pub const DeviceCouldNotPair: Self
pub const DeviceCouldNotUnpair: Self
pub const DeviceNeedsCredentials: Self
pub const DeviceIsBusyEnumerating: Self
pub const DeviceCommandGeneralFailure: Self
pub const DeviceFailedToCompleteTransfer: Self
pub const DeviceFailedToSendData: Self
pub const SessionNotOpened: Self
pub const ExFATVolumeInvalid: Self
pub const MultiErrorDictionary: Self
Trait Implementations§
Source§impl Clone for ICReturnCode
impl Clone for ICReturnCode
Source§fn clone(&self) -> ICReturnCode
fn clone(&self) -> ICReturnCode
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 ICReturnCode
impl Debug for ICReturnCode
Source§impl Encode for ICReturnCode
impl Encode for ICReturnCode
Source§impl Hash for ICReturnCode
impl Hash for ICReturnCode
Source§impl Ord for ICReturnCode
impl Ord for ICReturnCode
Source§fn cmp(&self, other: &ICReturnCode) -> Ordering
fn cmp(&self, other: &ICReturnCode) -> 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 ICReturnCode
impl PartialEq for ICReturnCode
Source§impl PartialOrd for ICReturnCode
impl PartialOrd for ICReturnCode
Source§impl RefEncode for ICReturnCode
impl RefEncode for ICReturnCode
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 ICReturnCode
impl Eq for ICReturnCode
impl StructuralPartialEq for ICReturnCode
Auto Trait Implementations§
impl Freeze for ICReturnCode
impl RefUnwindSafe for ICReturnCode
impl Send for ICReturnCode
impl Sync for ICReturnCode
impl Unpin for ICReturnCode
impl UnwindSafe for ICReturnCode
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.