fidl_fuchsia_net_routes_ext::admin

Function add_route

Source
pub async fn add_route<I: Ip + FidlRouteAdminIpExt + FidlRouteIpExt>(
    route_set: &<I::RouteSetMarker as ProtocolMarker>::Proxy,
    route: &I::Route,
) -> Result<Result<bool, RouteSetError>, Error>
Expand description

Dispatches add_route on either the RouteSetV4 or RouteSetV6 proxy.