pub struct ManagedModelStore { /* private fields */ }Expand description
Canonical binding between one managed profile and its model-store root.
Implementations§
Source§impl ManagedModelStore
impl ManagedModelStore
pub fn default_embedding(models_dir: impl Into<PathBuf>) -> Self
pub fn models_dir(&self) -> &Path
pub fn profile_id(&self) -> &ModelStoreProfileId
pub fn acquire_exclusive( &self, timeout: Duration, ) -> Result<ModelStoreMutationGuard<ExclusiveAccess>, ModelStoreLockError>
Trait Implementations§
Source§impl Clone for ManagedModelStore
impl Clone for ManagedModelStore
Source§impl Debug for ManagedModelStore
impl Debug for ManagedModelStore
impl Eq for ManagedModelStore
Source§impl PartialEq for ManagedModelStore
impl PartialEq for ManagedModelStore
impl StructuralPartialEq for ManagedModelStore
Auto Trait Implementations§
impl Freeze for ManagedModelStore
impl RefUnwindSafe for ManagedModelStore
impl Send for ManagedModelStore
impl Sync for ManagedModelStore
impl Unpin for ManagedModelStore
impl UnsafeUnpin for ManagedModelStore
impl UnwindSafe for ManagedModelStore
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