fidl_fuchsia_net_routes_admin

Trait RouteSetV4ProxyInterface

Source
pub trait RouteSetV4ProxyInterface: Send + Sync {
    type AuthenticateForInterfaceResponseFut: Future<Output = Result<RouteSetV4AuthenticateForInterfaceResult, Error>> + Send;
    type AddRouteResponseFut: Future<Output = Result<RouteSetV4AddRouteResult, Error>> + Send;
    type RemoveRouteResponseFut: Future<Output = Result<RouteSetV4RemoveRouteResult, Error>> + Send;

    // Required methods
    fn authenticate_for_interface(
        &self,
        credential: ProofOfInterfaceAuthorization,
    ) -> Self::AuthenticateForInterfaceResponseFut;
    fn add_route(&self, route: &RouteV4) -> Self::AddRouteResponseFut;
    fn remove_route(&self, route: &RouteV4) -> Self::RemoveRouteResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§