Trait ngrok::config::TunnelBuilder
source · pub trait TunnelBuilder: From<Session> {
type Tunnel: Tunnel;
// Required method
fn listen<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Tunnel, RpcError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait representing things that can be built into an ngrok tunnel.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.