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
//! Type-level flags representing resource reference permissions.
//!
//! Each group of operations has a [`Yes`] or [`No`] flag, combined with
//! [`Flag::Or`] when multiple permissions are specified as a tuple. This module
//! is public because SDK trait bounds reference it, though application code
//! does not need to use it directly.
/// A permission flag that is granted.
/// A permission flag that is not granted.
/// A type-level boolean flag for combining permissions.
/// Implemented when a permission flag is granted ([`Yes`]).
///
/// `Perm` is the permission type reported in compiler diagnostics when the
/// required permission is missing.