Trait ngrok::tunnel::EdgeInfo

source ·
pub trait EdgeInfo {
    // Required method
    fn labels(&self) -> &HashMap<String, String>;
}
Expand description

An ngrok tunnel backing an edge. Since labels may be dynamically defined via the dashboard or API, the url and protocol for the tunnel is not knowable ahead of time.

Required Methods§

source

fn labels(&self) -> &HashMap<String, String>

Returns the labels that the tunnel was started with.

Implementors§