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
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-License-Identifier: BUSL-1.1
//! Where access records go: a store the deployment reviews them in, or a
//! connection to external software that does (Regulation (EU) 2025/327
//! Annex II 3.3).
//!
//! [`AccessSink::store`] returns once the record is stored. A sink that
//! cannot store a record says so, and the caller decides what an access
//! without its record means; the sink never alters the access.
//!
//! An access that changes data cannot be taken back once it is made, so its
//! caller asks [`AccessSink::reserve`] for the record's place first and makes
//! the access only once the sink has one: a sink with no room refuses the
//! access before it happens, and the [`Reservation`] is filled with the
//! record of how the access ended.
use crateAccessRecord;
/// A store of access records.
/// The place of one record a sink took before its access was made; dropped
/// unfilled, it gives the place back.
/// Why a sink could not store a record.
;