fidl_fuchsia_net_routes_ext::admin

Function get_table_id

Source
pub async fn get_table_id<I: Ip + FidlRouteAdminIpExt + FidlRouteIpExt>(
    route_table: &<I::RouteTableMarker as ProtocolMarker>::Proxy,
) -> Result<TableId, Error>
Expand description

Dispatches get_table_id on either the RouteTableV4 or RouteTableV6 proxy.