Function iota_types::parse_iota_module_id
source ยท pub fn parse_iota_module_id(s: &str) -> Result<ModuleId>
Expand description
Parse s
as a Module ID: An address (see parse_iota_address
), followed by
::
, and then a module name (an identifier). 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.