pub struct Cache { /* private fields */ }Implementations§
Source§impl Cache
impl Cache
pub fn new() -> Result<Self>
pub fn ensure_dirs(&self) -> Result<()>
pub fn root(&self) -> &Path
pub fn metadata_store(&self) -> MetadataStore
pub fn device_cache(&self) -> DeviceCache
pub fn playlist_cache(&self) -> PlaylistCache
pub fn pin_store(&self) -> PinStore
pub fn search_store(&self) -> SearchStore
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
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