Function parse_state

Source
pub fn parse_state(input: &str) -> Result<StateType, String>