uuid::parser

Function parse_hyphenated

Source
const fn parse_hyphenated(s: &[u8]) -> Result<[u8; 16], InvalidUuid<'_>>