Skip to main content

parse_input

Function parse_input 

Source
pub fn parse_input(input: &str) -> ParsedInput
Expand description

Parse a positional input. Accepts either:

  • A 64- or 128-hex Swarm reference, returned as-is with None resolution metadata.
  • feed:OWNER:TOPIC (40-hex owner, 64-hex topic) — caller should then call resolve_feed to turn it into a reference.