pub enum MlError {
InvalidModel(String),
InvalidEncoding(String),
CorruptInputTensor(String),
RuntimeError(String),
OpenVinoError(String),
OnnxError(String),
TensorflowError(String),
ContextNotFoundError(String),
}Expand description
Error returned with InferenceOutput
Variants§
InvalidModel(String)
n(0)
InvalidEncoding(String)
n(1)
CorruptInputTensor(String)
n(2)
RuntimeError(String)
n(3)
OpenVinoError(String)
n(4)
OnnxError(String)
n(5)
TensorflowError(String)
n(6)
ContextNotFoundError(String)
n(7)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MlError
impl<'de> Deserialize<'de> for MlError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MlError
impl StructuralPartialEq for MlError
Auto Trait Implementations§
impl Freeze for MlError
impl RefUnwindSafe for MlError
impl Send for MlError
impl Sync for MlError
impl Unpin for MlError
impl UnwindSafe for MlError
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