Expand description
Shared vocabulary types for DNSY. No logic beyond small, total helpers.
Modules§
- hex
- Hexadecimal encoding shared by the CLI, the API and the engine.
- net
- Network vocabulary shared by every per-client limit.
Structs§
- System
Clock - The system clock.
- TokenId
- Database id of an API token.
- UserId
- Database id of a user.
Enums§
- Block
Mode - How a blocked query is answered. The serde strings are the
[filter] block_modeconfig values. - Dnssec
Status - DNSSEC validation outcome (RFC 4035 section 4.3) plus
Unchecked(validation off, CD=1, or locally generated answer). - KeyRole
- What a key signs.
- KeyState
- Lifecycle state of a key.
- Principal
- Who made a request.
- Role
- User role.
- Scope
- Permission scope carried by a token or granted by a role.
- Transport
- Transport a DNS request arrived on.
- Validation
- DNSSEC validation mode. The serde strings are the
[dnssec] validationconfig values.
Traits§
- Clock
- Source of time. Production code uses
SystemClock; tests useManualClock(featuretest-util).