pub struct StorageStateBuilder<'a> { /* private fields */ }Expand description
Builder for collecting storage state with options.
Implementations§
Source§impl<'a> StorageStateBuilder<'a>
impl<'a> StorageStateBuilder<'a>
Sourcepub fn indexed_db(self, include: bool) -> Self
pub fn indexed_db(self, include: bool) -> Self
Include IndexedDB data in the storage state.
Sourcepub fn indexed_db_max_entries(self, max: usize) -> Self
pub fn indexed_db_max_entries(self, max: usize) -> Self
Set maximum entries per IndexedDB object store.
Sourcepub async fn collect(self) -> Result<StorageState, ContextError>
pub async fn collect(self) -> Result<StorageState, ContextError>
Auto Trait Implementations§
impl<'a> Freeze for StorageStateBuilder<'a>
impl<'a> !RefUnwindSafe for StorageStateBuilder<'a>
impl<'a> Send for StorageStateBuilder<'a>
impl<'a> Sync for StorageStateBuilder<'a>
impl<'a> Unpin for StorageStateBuilder<'a>
impl<'a> !UnwindSafe for StorageStateBuilder<'a>
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