Skip to main content

ConnInfo

Trait ConnInfo 

Source
pub trait ConnInfo {
    // Required method
    fn remote_addr(&self) -> SocketAddr;
}
Expand description

Information common to all ngrok connections.

Required Methods§

Source

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".

Implementors§