bitflags::parser

Function from_str_strict

Source
pub fn from_str_strict<B: Flags>(input: &str) -> Result<B, ParseError>
Expand description

Parse a flags value from text.

This function will fail on any names that don’t correspond to defined flags. This function will fail to parse hex values.