fidl_fuchsia_net_routes_ext::admin

Function authenticate_for_interface

Source
pub async fn authenticate_for_interface<I: Ip + FidlRouteAdminIpExt + FidlRouteIpExt>(
    route_set: &<I::RouteSetMarker as ProtocolMarker>::Proxy,
    credential: ProofOfInterfaceAuthorization,
) -> Result<Result<(), AuthenticateForInterfaceError>, Error>
Expand description

Dispatches authenticate_for_interface on either the RouteSetV4 or RouteSetV6 proxy.