pub struct StorageStateOptions {
pub indexed_db: bool,
pub indexed_db_max_entries: usize,
}Expand description
Options for collecting storage state.
Fields§
§indexed_db: boolInclude IndexedDB data in the snapshot.
indexed_db_max_entries: usizeMaximum entries per IndexedDB object store.
Set to 0 for unlimited (default: 1000).
Implementations§
Source§impl StorageStateOptions
impl StorageStateOptions
Sourcepub fn indexed_db(self, include: bool) -> Self
pub fn indexed_db(self, include: bool) -> Self
Include IndexedDB data in the snapshot.
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.
Trait Implementations§
Source§impl Clone for StorageStateOptions
impl Clone for StorageStateOptions
Source§fn clone(&self) -> StorageStateOptions
fn clone(&self) -> StorageStateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageStateOptions
impl Debug for StorageStateOptions
Source§impl Default for StorageStateOptions
impl Default for StorageStateOptions
Source§fn default() -> StorageStateOptions
fn default() -> StorageStateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageStateOptions
impl RefUnwindSafe for StorageStateOptions
impl Send for StorageStateOptions
impl Sync for StorageStateOptions
impl Unpin for StorageStateOptions
impl UnwindSafe for StorageStateOptions
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