Trait ngrok::tunnel::TunnelInfo
source · pub trait TunnelInfo {
// Required methods
fn id(&self) -> &str;
fn forwards_to(&self) -> &str;
fn metadata(&self) -> &str;
}
Expand description
Information associated with an ngrok tunnel.
Required Methods§
sourcefn forwards_to(&self) -> &str
fn forwards_to(&self) -> &str
Returns a human-readable string presented in the ngrok dashboard and the Tunnels API. Use the HttpTunnelBuilder::forwards_to, TcpTunnelBuilder::forwards_to, etc. to set this value explicitly.