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
51
52
53
54
55
56
57
58
//! Directory navigation: the extension trait over [`KvStore`].
use Future;
use crateMaybeSend;
use crateKvStore;
/// Directory navigation over a [`KvStore`].
///
/// The data plane addresses data within a directory; this trait
/// addresses the directories themselves. An implementation lists
/// directories from the store's own mapping: the flat backends scan one
/// contiguous mapping range (O(children), not O(subtree keys)), the FDB
/// backend asks its native directory layer.
///
/// All three methods validate their directory path with
/// [`validate_dir`](crate::validate_dir) before touching the engine.
/// Their futures follow [`KvStore`]'s portability rule: they are `Send` on
/// native targets and may remain thread-local on browser wasm.