#[repr(i32)]pub enum VisionErrorCode {
Show 24 variants
TuriCore = -1,
Success = 0,
RequestCancelled = 1,
InvalidFormat = 2,
OperationFailed = 3,
OutOfBounds = 4,
InvalidOption = 5,
Io = 6,
MissingOption = 7,
NotImplemented = 8,
Internal = 9,
OutOfMemory = 10,
Unknown = 11,
InvalidOperation = 12,
InvalidImage = 13,
InvalidArgument = 14,
InvalidModel = 15,
UnsupportedRevision = 16,
DataUnavailable = 17,
TimeStampNotFound = 18,
UnsupportedRequest = 19,
Timeout = 20,
UnsupportedComputeStage = 21,
UnsupportedComputeDevice = 22,
}Expand description
Mirrors VNErrorCode.
Variants§
TuriCore = -1
Success = 0
RequestCancelled = 1
InvalidFormat = 2
OperationFailed = 3
OutOfBounds = 4
InvalidOption = 5
Io = 6
MissingOption = 7
NotImplemented = 8
Internal = 9
OutOfMemory = 10
Unknown = 11
InvalidOperation = 12
InvalidImage = 13
InvalidArgument = 14
InvalidModel = 15
UnsupportedRevision = 16
TimeStampNotFound = 18
UnsupportedRequest = 19
Timeout = 20
UnsupportedComputeStage = 21
UnsupportedComputeDevice = 22
Implementations§
Trait Implementations§
Source§impl Clone for VisionErrorCode
impl Clone for VisionErrorCode
Source§fn clone(&self) -> VisionErrorCode
fn clone(&self) -> VisionErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VisionErrorCode
impl Debug for VisionErrorCode
Source§impl Hash for VisionErrorCode
impl Hash for VisionErrorCode
Source§impl PartialEq for VisionErrorCode
impl PartialEq for VisionErrorCode
Source§fn eq(&self, other: &VisionErrorCode) -> bool
fn eq(&self, other: &VisionErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VisionErrorCode
impl Eq for VisionErrorCode
impl StructuralPartialEq for VisionErrorCode
Auto Trait Implementations§
impl Freeze for VisionErrorCode
impl RefUnwindSafe for VisionErrorCode
impl Send for VisionErrorCode
impl Sync for VisionErrorCode
impl Unpin for VisionErrorCode
impl UnsafeUnpin for VisionErrorCode
impl UnwindSafe for VisionErrorCode
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