pub fn parse_owner(text: &str) -> Result<LockOwner, String>Expand description
What: Parses one owner record, or names why it proves nothing. Why: Every field is checked before the owner’s process is ever consulted.
In TS you’d write (pseudocode):
function parseLockOwner(text: string): LockOwner | string;