Skip to main content

serve

Function serve 

Source
pub async fn serve(
    service: RegistryService,
    incoming: TcpIncoming,
) -> Result<(), RegistryError>
Expand description

Serve the StringRegistry service on incoming until the future is dropped.