pub enum ModelsDirSource {
Explicit,
EnvVar,
Default,
}Expand description
How the models directory was derived.
Variants§
Explicit
The user passed an explicit path (e.g., CLI flag or GUI form).
EnvVar
The path came from environment variables / .env.
Default
Fallback default (~/.local/share/llama_models).
Trait Implementations§
Source§impl Clone for ModelsDirSource
impl Clone for ModelsDirSource
Source§fn clone(&self) -> ModelsDirSource
fn clone(&self) -> ModelsDirSource
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 ModelsDirSource
impl Debug for ModelsDirSource
Source§impl PartialEq for ModelsDirSource
impl PartialEq for ModelsDirSource
impl Copy for ModelsDirSource
impl Eq for ModelsDirSource
impl StructuralPartialEq for ModelsDirSource
Auto Trait Implementations§
impl Freeze for ModelsDirSource
impl RefUnwindSafe for ModelsDirSource
impl Send for ModelsDirSource
impl Sync for ModelsDirSource
impl Unpin for ModelsDirSource
impl UnwindSafe for ModelsDirSource
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