pub enum DownloadKind {
Model,
Hub,
Embeddings,
Skill,
}Expand description
Kind of download operation.
Variants§
Model
Local model download from HuggingFace.
Hub
Hub package install/uninstall.
Embeddings
Embeddings model pre-download.
Skill
Skill download (future).
Trait Implementations§
Source§impl Clone for DownloadKind
impl Clone for DownloadKind
Source§fn clone(&self) -> DownloadKind
fn clone(&self) -> DownloadKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DownloadKind
impl Debug for DownloadKind
Source§impl<'de> Deserialize<'de> for DownloadKind
impl<'de> Deserialize<'de> for DownloadKind
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 Display for DownloadKind
impl Display for DownloadKind
Auto Trait Implementations§
impl Freeze for DownloadKind
impl RefUnwindSafe for DownloadKind
impl Send for DownloadKind
impl Sync for DownloadKind
impl Unpin for DownloadKind
impl UnsafeUnpin for DownloadKind
impl UnwindSafe for DownloadKind
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more