Module storage

Module storage 

Source
Available on crate features experimental and Storage and Browser and Network only.

Structs§

CacheStorageContentUpdatedEvent
A cache’s contents have been modified.
CacheStorageListUpdatedEvent
A cache has been added/deleted.
ClearCookiesCommand
Clears cookies.
ClearCookiesReturn
Clears cookies.
ClearDataForOriginCommand
Clears storage for origin.
ClearDataForOriginReturn
Clears storage for origin.
ClearTrustTokensCommand
Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer’s Redemption Records, intact.
ClearTrustTokensReturn
Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer’s Redemption Records, intact.
GetCookiesCommand
Returns all browser cookies.
GetCookiesReturn
Returns all browser cookies.
GetTrustTokensCommand
Returns the number of stored Trust Tokens per issuer for the current browsing context.
GetTrustTokensReturn
Returns the number of stored Trust Tokens per issuer for the current browsing context.
GetUsageAndQuotaCommand
Returns usage and quota in bytes.
GetUsageAndQuotaReturn
Returns usage and quota in bytes.
GetUsageAndQuotaReturnBuilder
IndexedDbContentUpdatedEvent
The origin’s IndexedDB object store has been modified.
IndexedDbListUpdatedEvent
The origin’s IndexedDB database list has been modified.
OverrideQuotaForOriginCommand
Override quota for the specified origin
OverrideQuotaForOriginReturn
Override quota for the specified origin
SetCookiesCommand
Sets given cookies.
SetCookiesReturn
Sets given cookies.
TrackCacheStorageForOriginCommand
Registers origin to be notified when an update occurs to its cache storage list.
TrackCacheStorageForOriginReturn
Registers origin to be notified when an update occurs to its cache storage list.
TrackIndexedDbForOriginCommand
Registers origin to be notified when an update occurs to its IndexedDB.
TrackIndexedDbForOriginReturn
Registers origin to be notified when an update occurs to its IndexedDB.
TrustTokens
Pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.
UntrackCacheStorageForOriginCommand
Unregisters origin from receiving notifications for cache storage.
UntrackCacheStorageForOriginReturn
Unregisters origin from receiving notifications for cache storage.
UntrackIndexedDbForOriginCommand
Unregisters origin from receiving notifications for IndexedDB.
UntrackIndexedDbForOriginReturn
Unregisters origin from receiving notifications for IndexedDB.
UsageForType
Usage for a storage type.

Enums§

StorageType