pub enum ModelJobKind {
Download,
MaterializeBundle,
ValidateBundle,
Warmup,
Inference,
BatchInference,
ExternalCommand,
}Expand description
Long-running model operation kind.
Variants§
Download
Download remote model files.
MaterializeBundle
Materialize a local model bundle.
ValidateBundle
Validate an existing model bundle.
Warmup
Warm a runtime/session.
Inference
Run one inference request.
BatchInference
Run batch inference.
ExternalCommand
Run an external model command.
Implementations§
Trait Implementations§
Source§impl Clone for ModelJobKind
impl Clone for ModelJobKind
Source§fn clone(&self) -> ModelJobKind
fn clone(&self) -> ModelJobKind
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 moreimpl Copy for ModelJobKind
Source§impl Debug for ModelJobKind
impl Debug for ModelJobKind
Source§impl<'de> Deserialize<'de> for ModelJobKind
impl<'de> Deserialize<'de> for ModelJobKind
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 ModelJobKind
Source§impl PartialEq for ModelJobKind
impl PartialEq for ModelJobKind
Source§fn eq(&self, other: &ModelJobKind) -> bool
fn eq(&self, other: &ModelJobKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelJobKind
impl Serialize for ModelJobKind
impl StructuralPartialEq for ModelJobKind
Auto Trait Implementations§
impl Freeze for ModelJobKind
impl RefUnwindSafe for ModelJobKind
impl Send for ModelJobKind
impl Sync for ModelJobKind
impl Unpin for ModelJobKind
impl UnsafeUnpin for ModelJobKind
impl UnwindSafe for ModelJobKind
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