Function iota_types::parse_iota_fq_name
source ยท pub fn parse_iota_fq_name(s: &str) -> Result<(ModuleId, String)>
Expand description
Parse s
as a fully-qualified name: A Module ID (see
parse_iota_module_id
), followed by ::
, and then an identifier (for the
module member). Parsing succeeds if and only if s
matches this
format exactly, with no remaining input. This function is intended for use
within the authority codebases.