pub fn normalize_label(raw: &str) -> Result<String, LabelError>Expand description
Normalize raw into a storable label: NFC, then trimmed of surrounding whitespace, then
checked against the 1–MAX_LABEL_BYTES byte bound. Case is preserved.
§Errors
LabelError::Empty when only whitespace remains, LabelError::TooLong past the bound.