#[repr(transparent)]pub struct VNErrorCode(pub NSInteger);
Available on crate feature
VNError
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl VNErrorCode
impl VNErrorCode
pub const TuriCoreErrorCode: Self
pub const OK: Self
pub const RequestCancelled: Self
pub const InvalidFormat: Self
pub const OperationFailed: Self
pub const OutOfBoundsError: Self
pub const InvalidOption: Self
pub const IOError: Self
pub const MissingOption: Self
pub const NotImplemented: Self
pub const InternalError: Self
pub const OutOfMemory: Self
pub const UnknownError: Self
pub const InvalidOperation: Self
pub const InvalidImage: Self
pub const InvalidArgument: Self
pub const InvalidModel: Self
pub const UnsupportedRevision: Self
pub const TimeStampNotFound: Self
pub const UnsupportedRequest: Self
pub const Timeout: Self
pub const UnsupportedComputeStage: Self
pub const UnsupportedComputeDevice: Self
Trait Implementations§
Source§impl Clone for VNErrorCode
impl Clone for VNErrorCode
Source§fn clone(&self) -> VNErrorCode
fn clone(&self) -> VNErrorCode
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 VNErrorCode
impl Debug for VNErrorCode
Source§impl Encode for VNErrorCode
impl Encode for VNErrorCode
Source§impl Hash for VNErrorCode
impl Hash for VNErrorCode
Source§impl Ord for VNErrorCode
impl Ord for VNErrorCode
Source§fn cmp(&self, other: &VNErrorCode) -> Ordering
fn cmp(&self, other: &VNErrorCode) -> 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 VNErrorCode
impl PartialEq for VNErrorCode
Source§impl PartialOrd for VNErrorCode
impl PartialOrd for VNErrorCode
Source§impl RefEncode for VNErrorCode
impl RefEncode for VNErrorCode
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 VNErrorCode
impl Eq for VNErrorCode
impl StructuralPartialEq for VNErrorCode
Auto Trait Implementations§
impl Freeze for VNErrorCode
impl RefUnwindSafe for VNErrorCode
impl Send for VNErrorCode
impl Sync for VNErrorCode
impl Unpin for VNErrorCode
impl UnwindSafe for VNErrorCode
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.