pub fn decode_directive_set(
body: &[u8],
clock: &dyn Clock,
) -> Result<DirectiveSet, &'static str>Expand description
Decodes a publish body into a DirectiveSet, or a stable value-free reason
slug on the first malformed field.
ยงErrors
A &'static str slug (e.g. "unknown_field", "zero_ttl") naming the first
rejection, suitable for a log or an HTTP reason, never echoes a value.