pub struct CoverFetcher { /* private fields */ }Implementations§
Source§impl CoverFetcher
impl CoverFetcher
pub fn new( cache_dir: PathBuf, strategy: FetchStrategy, lastfm_api_key: Option<String>, on_progress: Arc<dyn Fn(String) + Send + Sync>, ) -> Self
pub async fn fetch_missing_covers(&self, library: &mut Library) -> FetchReport
Auto Trait Implementations§
impl !RefUnwindSafe for CoverFetcher
impl !UnwindSafe for CoverFetcher
impl Freeze for CoverFetcher
impl Send for CoverFetcher
impl Sync for CoverFetcher
impl Unpin for CoverFetcher
impl UnsafeUnpin for CoverFetcher
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