fidl_fuchsia_net_multicast_ext

Trait TableControllerProxy

Source
pub trait TableControllerProxy<I: FidlMulticastAdminIpExt> {
    // Required methods
    fn take_event_stream(
        &self,
    ) -> impl Stream<Item = Result<TableControllerCloseReason, Error>> + Unpin;
    fn add_route(
        &self,
        addresses: UnicastSourceAndMulticastDestination<I>,
        route: Route,
    ) -> impl Future<Output = Result<Result<(), AddRouteError>, Error>>;
    fn del_route(
        &self,
        addresses: UnicastSourceAndMulticastDestination<I>,
    ) -> impl Future<Output = Result<Result<(), DelRouteError>, Error>>;
    fn get_route_stats(
        &self,
        addresses: UnicastSourceAndMulticastDestination<I>,
    ) -> impl Future<Output = Result<Result<RouteStats, GetRouteStatsError>, Error>>;
    fn watch_routing_events(
        &self,
    ) -> impl Future<Output = Result<WatchRoutingEventsResponse<I>, Error>>;
}
Expand description

A FIDL multicast routing table controller Proxy.

An IP generic abstraction over fnet_multicast_admin::Ipv4RoutingTableControllerProxy, and fnet_multicast_admin::Ipv6RoutingTableControllerProxy.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TableControllerProxy<Ipv4> for Ipv4RoutingTableControllerProxy

Source§

impl TableControllerProxy<Ipv6> for Ipv6RoutingTableControllerProxy

Implementors§