#[repr(u32)]pub enum OrtErrorCode {
ORT_OK = 0,
ORT_FAIL = 1,
ORT_INVALID_ARGUMENT = 2,
ORT_NO_SUCHFILE = 3,
ORT_NO_MODEL = 4,
ORT_ENGINE_ERROR = 5,
ORT_RUNTIME_EXCEPTION = 6,
ORT_INVALID_PROTOBUF = 7,
ORT_MODEL_LOADED = 8,
ORT_NOT_IMPLEMENTED = 9,
ORT_INVALID_GRAPH = 10,
ORT_EP_FAIL = 11,
}
Variants§
ORT_OK = 0
ORT_FAIL = 1
ORT_INVALID_ARGUMENT = 2
ORT_NO_SUCHFILE = 3
ORT_NO_MODEL = 4
ORT_ENGINE_ERROR = 5
ORT_RUNTIME_EXCEPTION = 6
ORT_INVALID_PROTOBUF = 7
ORT_MODEL_LOADED = 8
ORT_NOT_IMPLEMENTED = 9
ORT_INVALID_GRAPH = 10
ORT_EP_FAIL = 11
Trait Implementations§
Source§impl Clone for OrtErrorCode
impl Clone for OrtErrorCode
Source§fn clone(&self) -> OrtErrorCode
fn clone(&self) -> OrtErrorCode
Returns a copy 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 OrtErrorCode
impl Debug for OrtErrorCode
Source§impl Hash for OrtErrorCode
impl Hash for OrtErrorCode
Source§impl PartialEq for OrtErrorCode
impl PartialEq for OrtErrorCode
impl Copy for OrtErrorCode
impl Eq for OrtErrorCode
impl StructuralPartialEq for OrtErrorCode
Auto Trait Implementations§
impl Freeze for OrtErrorCode
impl RefUnwindSafe for OrtErrorCode
impl Send for OrtErrorCode
impl Sync for OrtErrorCode
impl Unpin for OrtErrorCode
impl UnwindSafe for OrtErrorCode
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