1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! What an ordinary program needs, in one import.
//!
//! ```
//! use amethystate::prelude::*;
//! ```
//!
//! Declaring state, opening a store, reading and writing through it, and the
//! two rules a declaration can carry. Everything here is re-exported from
//! where it lives, so naming a path directly stays as good as it was.
//!
//! Two of these are here because leaving them out is the mistake people make:
//! [`StoreExt`] and [`StoreBackend`] are traits, and without them in scope a
//! store has no `get`, no `set` and no `save_now` - which reads as the method
//! being missing rather than the trait.
//!
//! What is not here is what a program reaches for once and by name: the shape
//! of a subscription, the schema a migration compares, the layout of the files
//! on disk. A prelude that carried those would be a second crate root.
/// Turning a struct into stored state, and moving what an older build wrote.
pub use crate::;
/// Opening a store, and reaching the one this process installed.
pub use crate;
pub use crateStore;
pub use crate::;
/// Reading and writing through it. Both are traits, and both are why a method
/// looks missing when they are not in scope.
pub use crate;
/// What a declared field holds, and what it does when the store disagrees.
pub use crate;
pub use crate;
/// A struct that can be loaded whole, and where anything is stored.
pub use crateAmeStateSlice;
/// Opening a struct over a store, and what an opening written by hand starts
/// from.
pub use crate;
pub use StorePath;
/// What comes back when something goes wrong, and what carries it.
pub use crateReport;
pub use crate;
/// What a `#[migrate]` step returns, and what one built by hand is handed.
pub use crateMigrationResult;
pub use crateMigrationContext;