Skip to main content

Crate tauri_plugin_store

Crate tauri_plugin_store 

Source
Expand description

Simple, persistent key-value store.

Structs§

Builder
Builder for the store plugin.
Store
A key-value store, persisted to a file resolved with resolve_store_path.
StoreBuilder
Builds a Store

Enums§

Error
The error types.
JsonValue
Represents any valid JSON value.

Traits§

StoreExt
Extension trait to access the store APIs on a Manager such as App, AppHandle, WebviewWindow or Window.

Functions§

resolve_store_path
Resolves the path of a store file, relative to the app data directory (BaseDirectory::AppData).

Type Aliases§

DeserializeFn
Function used to deserialize the bytes read from the store file into the store cache.
Result
Alias for a Result with the error type Error.
SerializeFn
Function used to serialize the store cache to the bytes written to the store file.