Docs.rs
tauri-store-0.4.0
tauri-store 0.4.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
ferreira-tb
Dependencies
dashmap ^6.1
normal
futures ^0.3
normal
serde ^1.0
normal
serde_json ^1.0
normal
tauri ^2
normal
tauri-store-macros ^0.4
normal
optional
tauri-store-utils ^0.1
normal
thiserror ^2.0
normal
tokio ^1.39
normal
tauri-plugin ^2.0
build
tracing ^0.1
normal
Versions
19.35%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
tauri_
store
0.4.0
Store
State
Aliased type
Trait Implementations
StoreStateExt
In crate tauri_
store
tauri_store
Type Alias
StoreState
Copy item path
Source
pub type StoreState =
HashMap
<
String
,
Value
>;
Aliased Type
§
struct StoreState {
/* private fields */
}
Trait Implementations
§
Source
§
impl
StoreStateExt
for
StoreState
Source
§
fn
parse
<T:
DeserializeOwned
>(&self) ->
Result
<T>
Tries to parse the store state as an instance of type
T
.
Source
§
fn
try_get
<T:
DeserializeOwned
>(&self, key: impl
AsRef
<
str
>) ->
Result
<T>
Gets a value from the store and tries to parse it as an instance of type
T
.