Skip to main content

register_loopback_transport_endpoint

Function register_loopback_transport_endpoint 

Source
pub fn register_loopback_transport_endpoint(
    address: ServerAddress,
    site: Arc<dyn EvalSite>,
) -> Result<LoopbackTransportEndpoint>
Expand description

Registers site as the loopback endpoint for address.

The returned LoopbackTransportEndpoint unregisters the endpoint when dropped.