pub enum TableControllerRequest<I: FidlMulticastAdminIpExt> {
AddRoute {
addresses: UnicastSourceAndMulticastDestination<I>,
route: Route,
responder: I::AddRouteResponder,
},
DelRoute {
addresses: UnicastSourceAndMulticastDestination<I>,
responder: I::DelRouteResponder,
},
GetRouteStats {
addresses: UnicastSourceAndMulticastDestination<I>,
responder: I::GetRouteStatsResponder,
},
WatchRoutingEvents {
responder: I::WatchRoutingEventsResponder,
},
}
Expand description
An IP generic version of
fnet_multicast_admin::Ipv4RoutingTableControllerRequest
and
fnet_multicast_admin::Ipv6RoutingTableControllerRequest
.
Variants§
AddRoute
DelRoute
GetRouteStats
WatchRoutingEvents
Fields
§
responder: I::WatchRoutingEventsResponder
Trait Implementations§
Source§impl<I: Debug + FidlMulticastAdminIpExt> Debug for TableControllerRequest<I>where
I::AddRouteResponder: Debug,
I::DelRouteResponder: Debug,
I::GetRouteStatsResponder: Debug,
I::WatchRoutingEventsResponder: Debug,
impl<I: Debug + FidlMulticastAdminIpExt> Debug for TableControllerRequest<I>where
I::AddRouteResponder: Debug,
I::DelRouteResponder: Debug,
I::GetRouteStatsResponder: Debug,
I::WatchRoutingEventsResponder: Debug,
Source§impl From<Ipv4RoutingTableControllerRequest> for TableControllerRequest<Ipv4>
impl From<Ipv4RoutingTableControllerRequest> for TableControllerRequest<Ipv4>
Source§fn from(request: Ipv4RoutingTableControllerRequest) -> Self
fn from(request: Ipv4RoutingTableControllerRequest) -> Self
Converts to this type from the input type.
Source§impl From<Ipv6RoutingTableControllerRequest> for TableControllerRequest<Ipv6>
impl From<Ipv6RoutingTableControllerRequest> for TableControllerRequest<Ipv6>
Source§fn from(request: Ipv6RoutingTableControllerRequest) -> Self
fn from(request: Ipv6RoutingTableControllerRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<I> Freeze for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: Freeze,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: Freeze,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: Freeze,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: Freeze,
<I as Ip>::Addr: Freeze,
impl<I> RefUnwindSafe for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: RefUnwindSafe,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: RefUnwindSafe,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: RefUnwindSafe,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: RefUnwindSafe,
<I as Ip>::Addr: RefUnwindSafe,
impl<I> Send for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: Send,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: Send,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: Send,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: Send,
impl<I> Sync for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: Sync,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: Sync,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: Sync,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: Sync,
impl<I> Unpin for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: Unpin,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: Unpin,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: Unpin,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: Unpin,
<I as Ip>::Addr: Unpin,
impl<I> UnwindSafe for TableControllerRequest<I>where
<I as FidlMulticastAdminIpExt>::AddRouteResponder: UnwindSafe,
<I as FidlMulticastAdminIpExt>::DelRouteResponder: UnwindSafe,
<I as FidlMulticastAdminIpExt>::GetRouteStatsResponder: UnwindSafe,
<I as FidlMulticastAdminIpExt>::WatchRoutingEventsResponder: UnwindSafe,
<I as Ip>::Addr: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.