pub trait BridgeExitProtocol {
    fn advertise_raw<'life0, 'async_trait>(
        &'life0 self,
        protocol: RawProtocol,
        bridge_addr: SocketAddr,
        bridge_group: SmolStr
    ) -> Pin<Box<dyn Future<Output = SocketAddr> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

The nanorpc_derive trait describing the bridge/exit protocol.

Required Methods

Advertises an available raw port. If enough resources are available, returns the address to forward traffic to.

Implementors