fidl_fuchsia_net_routes_ext::testutil::admin

Function serve_one_route_set

Source
pub fn serve_one_route_set<I: FidlRouteAdminIpExt>(
    server_end: ServerEnd<I::RouteTableMarker>,
) -> impl Stream<Item = <<<I as FidlRouteAdminIpExt>::RouteSetMarker as ProtocolMarker>::RequestStream as Stream>::Item>
Expand description

Provides a RouteTable implementation that provides one RouteSet and then panics on subsequent invocations. Returns the request stream for that RouteSet.