pub enum EmbeddingModelState {
Loaded,
Available,
Downloading,
Missing,
}Expand description
Where the embedding model stands on the server.
Variants§
Loaded
In memory, ready to embed.
Available
On disk, loaded on first use.
Downloading
Missing
Downloaded on first use.
Trait Implementations§
Source§impl Clone for EmbeddingModelState
impl Clone for EmbeddingModelState
impl Copy for EmbeddingModelState
Source§impl Debug for EmbeddingModelState
impl Debug for EmbeddingModelState
Source§impl<'de> Deserialize<'de> for EmbeddingModelState
impl<'de> Deserialize<'de> for EmbeddingModelState
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
Source§impl PartialEq for EmbeddingModelState
impl PartialEq for EmbeddingModelState
Source§impl Serialize for EmbeddingModelState
impl Serialize for EmbeddingModelState
impl StructuralPartialEq for EmbeddingModelState
Auto Trait Implementations§
impl Forget for EmbeddingModelState
impl Freeze for EmbeddingModelState
impl Move for EmbeddingModelState
impl RefUnwindSafe for EmbeddingModelState
impl Send for EmbeddingModelState
impl Sync for EmbeddingModelState
impl Unpin for EmbeddingModelState
impl UnsafeUnpin for EmbeddingModelState
impl UnwindSafe for EmbeddingModelState
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