pub enum ModelState {
Ready,
Unresolved,
Missing,
}Expand description
The lifecycle state of a model record.
Variants§
Ready
Resolved to a runtime and present on disk.
Unresolved
Not yet resolved to a runtime.
Missing
Known but its weights are no longer on disk.
Implementations§
Trait Implementations§
Source§impl Clone for ModelState
impl Clone for ModelState
Source§fn clone(&self) -> ModelState
fn clone(&self) -> ModelState
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 ModelState
Source§impl Debug for ModelState
impl Debug for ModelState
Source§impl Default for ModelState
impl Default for ModelState
Source§fn default() -> ModelState
fn default() -> ModelState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelState
impl<'de> Deserialize<'de> for ModelState
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 ModelState
Source§impl Hash for ModelState
impl Hash for ModelState
Source§impl PartialEq for ModelState
impl PartialEq for ModelState
Source§impl Serialize for ModelState
impl Serialize for ModelState
impl StructuralPartialEq for ModelState
Auto Trait Implementations§
impl Freeze for ModelState
impl RefUnwindSafe for ModelState
impl Send for ModelState
impl Sync for ModelState
impl Unpin for ModelState
impl UnsafeUnpin for ModelState
impl UnwindSafe for ModelState
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