pub struct StoreCollectionBuilder<R: Runtime> { /* private fields */ }
Implementations§
Source§impl<R: Runtime> StoreCollectionBuilder<R>
impl<R: Runtime> StoreCollectionBuilder<R>
pub fn new() -> Self
pub fn path(self, path: impl AsRef<Path>) -> Self
pub fn default_save_strategy(self, strategy: SaveStrategy) -> Self
pub fn autosave(self, duration: Duration) -> Self
pub fn on_load<F>(self, f: F) -> Self
pub fn pretty(self, yes: bool) -> Self
pub fn save_denylist(self, save_denylist: HashSet<String>) -> Self
pub fn sync_denylist(self, sync_denylist: HashSet<String>) -> Self
pub fn build(self, app: &AppHandle<R>) -> Arc<StoreCollection<R>>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for StoreCollectionBuilder<R>
impl<R> !RefUnwindSafe for StoreCollectionBuilder<R>
impl<R> Send for StoreCollectionBuilder<R>
impl<R> Sync for StoreCollectionBuilder<R>
impl<R> Unpin for StoreCollectionBuilder<R>
impl<R> !UnwindSafe for StoreCollectionBuilder<R>
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