pub struct HFCacheScanner { /* private fields */ }Expand description
A scanner over one or more Hugging Face hub cache roots.
Implementations§
Trait Implementations§
Source§impl StoreScanner for HFCacheScanner
impl StoreScanner for HFCacheScanner
Source§fn kinds(&self) -> Vec<SourceKind>
fn kinds(&self) -> Vec<SourceKind>
The source kinds this scanner produces (used to mark wholesale failures).
Source§fn scan(&self) -> ScanResult
fn scan(&self) -> ScanResult
Scan the store, returning everything found plus any issues.
Auto Trait Implementations§
impl Freeze for HFCacheScanner
impl RefUnwindSafe for HFCacheScanner
impl Send for HFCacheScanner
impl Sync for HFCacheScanner
impl Unpin for HFCacheScanner
impl UnsafeUnpin for HFCacheScanner
impl UnwindSafe for HFCacheScanner
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