pub async fn channel(url: &str, tls: Option<&Tls>) -> Result<Channel, String>
Connects to the master at url, over TLS when tls is given.
url
tls
Why the URL can’t be used or the connection failed, as text.