pub fn parse_target(target: &str) -> Result<ParsedTarget, String>Expand description
Parse a target string in the format [user@]hostname[:port].
pub fn parse_target(target: &str) -> Result<ParsedTarget, String>Parse a target string in the format [user@]hostname[:port].