#[non_exhaustive]pub enum ModelSourceKind {
Local,
HuggingFace,
}Expand description
Class of model provider.
#[non_exhaustive] so new sources can be added without breaking
downstream match arms.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for ModelSourceKind
impl Clone for ModelSourceKind
Source§fn clone(&self) -> ModelSourceKind
fn clone(&self) -> ModelSourceKind
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 moreSource§impl Debug for ModelSourceKind
impl Debug for ModelSourceKind
impl Eq for ModelSourceKind
Source§impl PartialEq for ModelSourceKind
impl PartialEq for ModelSourceKind
impl StructuralPartialEq for ModelSourceKind
Auto Trait Implementations§
impl Freeze for ModelSourceKind
impl RefUnwindSafe for ModelSourceKind
impl Send for ModelSourceKind
impl Sync for ModelSourceKind
impl Unpin for ModelSourceKind
impl UnsafeUnpin for ModelSourceKind
impl UnwindSafe for ModelSourceKind
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