pub fn tuple_key_from_string( dir: &DirectoryOutput, tuple_str: &str, ) -> Result<Vec<u8>, String>
Build a single key from a tuple string, e.g. “(user-1)”.