pub trait Tunnel:
Stream<Item = Result<Self::Conn, AcceptError>>
+ TunnelInfo
+ TunnelCloser
+ Unpin
+ Send
+ 'static {
type Conn: Conn;
}
Expand description
An ngrok tunnel.
ngrok Tunnels act like TCP listeners and can be used as a [futures::stream::TryStream] of [Conn]ections from endpoints created on the ngrok service.