fidl_fuchsia_net_multicast_adminTrait Ipv4RoutingTableControllerProxyInterface
Source pub trait Ipv4RoutingTableControllerProxyInterface: Send + Sync {
type AddRouteResponseFut: Future<Output = Result<Ipv4RoutingTableControllerAddRouteResult, Error>> + Send;
type DelRouteResponseFut: Future<Output = Result<Ipv4RoutingTableControllerDelRouteResult, Error>> + Send;
type GetRouteStatsResponseFut: Future<Output = Result<Ipv4RoutingTableControllerGetRouteStatsResult, Error>> + Send;
type WatchRoutingEventsResponseFut: Future<Output = Result<(u64, Ipv4UnicastSourceAndMulticastDestination, u64, RoutingEvent), Error>> + Send;
// Required methods
fn add_route(
&self,
addresses: &Ipv4UnicastSourceAndMulticastDestination,
route: &Route,
) -> Self::AddRouteResponseFut;
fn del_route(
&self,
addresses: &Ipv4UnicastSourceAndMulticastDestination,
) -> Self::DelRouteResponseFut;
fn get_route_stats(
&self,
addresses: &Ipv4UnicastSourceAndMulticastDestination,
) -> Self::GetRouteStatsResponseFut;
fn watch_routing_events(&self) -> Self::WatchRoutingEventsResponseFut;
}