fidl_fuchsia_net_routes_ext::admin

Function concretize_route_table_provider_request

Source
pub fn concretize_route_table_provider_request<I: Ip + FidlRouteAdminIpExt>(
    item: <<<I as FidlRouteAdminIpExt>::RouteTableProviderMarker as ProtocolMarker>::RequestStream as Stream>::Item,
) -> Result<(ServerEnd<I::RouteTableMarker>, Option<String>), Error>
Expand description

The compiler often fails to infer that an item in the RouteTableProvider request stream is a Result. This function helps force it to understand this so that the Result can be unwrapped to get the actual RouteTableProvider request inside.