pub struct Local { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Store for Local
impl Store for Local
fn writer(&self, key: &StorageKey) -> Pending<'_, Box<dyn Writer>>
fn reader(&self, key: &StorageKey) -> Pending<'_, Option<Box<dyn Reader>>>
Source§fn delete(&self, key: &StorageKey) -> Pending<'_, ()>
fn delete(&self, key: &StorageKey) -> Pending<'_, ()>
Deleting a key that holds nothing succeeds.
fn exists(&self, key: &StorageKey) -> Pending<'_, bool>
fn download_url(&self, link: &DownloadLink<'_>) -> Result<String>
Auto Trait Implementations§
impl Forget for Local
impl Freeze for Local
impl RefUnwindSafe for Local
impl Send for Local
impl Sync for Local
impl Unpin for Local
impl UnsafeUnpin for Local
impl UnwindSafe for Local
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