#[repr(transparent)]pub struct NFCReaderError(pub NSInteger);
Expand description
Possible errors returned by CoreNFC framework reader session.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl NFCReaderError
impl NFCReaderError
pub const ReaderErrorUnsupportedFeature: Self
pub const ReaderErrorSecurityViolation: Self
pub const ReaderErrorInvalidParameter: Self
pub const ReaderErrorInvalidParameterLength: Self
pub const ReaderErrorParameterOutOfBound: Self
pub const ReaderErrorRadioDisabled: Self
pub const ReaderTransceiveErrorTagConnectionLost: Self
pub const ReaderTransceiveErrorRetryExceeded: Self
pub const ReaderTransceiveErrorTagResponseError: Self
pub const ReaderTransceiveErrorSessionInvalidated: Self
pub const ReaderTransceiveErrorTagNotConnected: Self
pub const ReaderTransceiveErrorPacketTooLong: Self
pub const ReaderSessionInvalidationErrorUserCanceled: Self
pub const ReaderSessionInvalidationErrorSessionTimeout: Self
pub const ReaderSessionInvalidationErrorSessionTerminatedUnexpectedly: Self
pub const ReaderSessionInvalidationErrorSystemIsBusy: Self
pub const ReaderSessionInvalidationErrorFirstNDEFTagRead: Self
pub const TagCommandConfigurationErrorInvalidParameters: Self
pub const NdefReaderSessionErrorTagNotWritable: Self
pub const NdefReaderSessionErrorTagUpdateFailure: Self
pub const NdefReaderSessionErrorTagSizeTooSmall: Self
pub const NdefReaderSessionErrorZeroLengthMessage: Self
Trait Implementations§
Source§impl Clone for NFCReaderError
impl Clone for NFCReaderError
Source§fn clone(&self) -> NFCReaderError
fn clone(&self) -> NFCReaderError
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 NFCReaderError
impl Debug for NFCReaderError
Source§impl Encode for NFCReaderError
impl Encode for NFCReaderError
Source§impl Hash for NFCReaderError
impl Hash for NFCReaderError
Source§impl Ord for NFCReaderError
impl Ord for NFCReaderError
Source§fn cmp(&self, other: &NFCReaderError) -> Ordering
fn cmp(&self, other: &NFCReaderError) -> 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 NFCReaderError
impl PartialEq for NFCReaderError
Source§impl PartialOrd for NFCReaderError
impl PartialOrd for NFCReaderError
Source§impl RefEncode for NFCReaderError
impl RefEncode for NFCReaderError
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 NFCReaderError
impl Eq for NFCReaderError
impl StructuralPartialEq for NFCReaderError
Auto Trait Implementations§
impl Freeze for NFCReaderError
impl RefUnwindSafe for NFCReaderError
impl Send for NFCReaderError
impl Sync for NFCReaderError
impl Unpin for NFCReaderError
impl UnwindSafe for NFCReaderError
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.