parse_command_name

Function parse_command_name 

Source
pub fn parse_command_name(name: &Name) -> Option<ParsedCommand>
Expand description

Parse a management command from an Interest name.

Expects: /localhost/nfd/<module>/<verb>[/<params>][/<signed-interest-components>]

Returns None if the name doesn’t match the management prefix or has too few components.