pub enum ModelExecution {
EngineRun,
PluginSide,
}Expand description
How a registered model is executed.
Variants§
EngineRun
The engine loads the model file and runs it on the shared backend, then publishes detections itself.
PluginSide
The plugin runs the model and publishes detections (or calls infer).
Trait Implementations§
Source§impl Clone for ModelExecution
impl Clone for ModelExecution
impl Copy for ModelExecution
Source§impl Debug for ModelExecution
impl Debug for ModelExecution
Source§impl<'de> Deserialize<'de> for ModelExecution
impl<'de> Deserialize<'de> for ModelExecution
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 ModelExecution
Source§impl PartialEq for ModelExecution
impl PartialEq for ModelExecution
Source§impl Serialize for ModelExecution
impl Serialize for ModelExecution
impl StructuralPartialEq for ModelExecution
Auto Trait Implementations§
impl Freeze for ModelExecution
impl RefUnwindSafe for ModelExecution
impl Send for ModelExecution
impl Sync for ModelExecution
impl Unpin for ModelExecution
impl UnsafeUnpin for ModelExecution
impl UnwindSafe for ModelExecution
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.