(self)
| 15 | /// Human-readable value kind used in error messages. |
| 16 | #[must_use] |
| 17 | pub const fn as_str(self) -> &'static str { |
| 18 | match self { |
| 19 | Self::String => "string", |
| 20 | Self::Int => "int", |
| 21 | Self::Bool => "bool", |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | /// Static descriptor for one registered sandbox setting key. |