Skip to main content

parse_owner

Function parse_owner 

Source
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;