fn serve_routing_protocol_async(
    capability_provider: Arc<Mutex<Option<Box<dyn CapabilityProvider>>>>,
) -> ClientEnd<fsys::RoutingProtocolMarker> {
    let (client_end, stream) = create_request_stream::<fsys::RoutingProtocolMarker>()
        .expect("failed to create request stream for RoutingProtocol");
    fasync::spawn(async move {
        serve_routing_protocol(capability_provider, stream).await;
    });
    client_end
}
/// Serves the server end of the RoutingProtocol FIDL protocol asynchronously.
Serves the server end of the RoutingProtocol FIDL protocol asynchronously.
Serves the server end of the RoutingProtocol FIDL protocol asynchronously .
fn serve_routing_protocol_async(
    capability_provider: Arc<Mutex<Option<Box<dyn CapabilityProvider>>>>,
) -> ClientEnd<fsys::RoutingProtocolMarker> {
    let (client_end, stream) = create_request_stream::<fsys::RoutingProtocolMarker>()
        .expect("failed to create request stream for RoutingProtocol");
    fasync::spawn(async move {
        serve_routing_protocol(capability_provider, stream).await;
    });
    client_end
}
fn serve_routing_protocol_async ( capability_provider : Arc < Mutex < Option < Box < dyn CapabilityProvider > > > > , ) -> ClientEnd < fsys :: RoutingProtocolMarker > { let ( client_end , stream ) = create_request_stream :: < fsys :: RoutingProtocolMarker > ( ) . expect ( " " ) ; fasync :: spawn ( async move { serve_routing_protocol ( capability_provider , stream ) . await ; } ) ; client_end }
Serves the server end of the RoutingProtocol FIDL protocol asynchronously.
Serves the server end of the RoutingProtocol FIDL protocol asynchronously .
capability_provider
Arc<Mutex<Option<Box<dyn CapabilityProvider>>>>
capability_provider
Arc<Mutex<Option<Box<dyn CapabilityProvider>>>>