pub trait ConnInfo {
// Required method
fn remote_addr(&self) -> SocketAddr;
}Expand description
Information common to all ngrok connections.
Required Methods§
Sourcefn remote_addr(&self) -> SocketAddr
fn remote_addr(&self) -> SocketAddr
Returns the client address that initiated the connection to the ngrok edge.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".