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
use Debug;
use crateStore;
/// Must be a syntactically valid address: successfully parsed, but not yet validated.
///
/// You will want to implement [`SubAddress<NextPart>`](SubAddress) for this if your store supports several layers of indirection,
/// as `location.sub(addr_part: NextPart)` will add them.
///
/// `Value`: Typically it should be `Option<SomeValue>`, to indicate when the item is not found,
/// or deletion of the item when it's written.
// pub trait Address<S: Store + ?Sized>: Address {
// type DefaultValue = !;
// // fn own_name(&self) -> String;
// }