pub enum RouteTableRequest<I: FidlRouteAdminIpExt> {
GetTableId {
responder: I::RouteTableGetTableIdResponder,
},
Detach {
control_handle: I::RouteTableControlHandle,
},
Remove {
responder: I::RouteTableRemoveResponder,
},
GetAuthorizationForRouteTable {
responder: I::RouteTableGetAuthorizationResponder,
},
NewRouteSet {
route_set: ServerEnd<I::RouteSetMarker>,
control_handle: I::RouteTableControlHandle,
},
}
Expand description
GenericOverIp version of RouteTableV{4, 6}Request.
Variants§
GetTableId
Gets the table ID for the table
Fields
§
responder: I::RouteTableGetTableIdResponder
Responder for the request.
Detach
Detaches the table lifetime from the channel.
Fields
§
control_handle: I::RouteTableControlHandle
Control handle to the protocol.
Remove
Removes the table.
Fields
§
responder: I::RouteTableRemoveResponder
Responder to the request.
GetAuthorizationForRouteTable
Gets the authorization for the route table.
Fields
§
responder: I::RouteTableGetAuthorizationResponder
Responder to the request.
NewRouteSet
Creates a new route set for the table.
Fields
§
route_set: ServerEnd<I::RouteSetMarker>
The server end of the route set protocol.
§
control_handle: I::RouteTableControlHandle
Control handle to the protocol.
Trait Implementations§
Source§impl<I: FidlRouteAdminIpExt> Debug for RouteTableRequest<I>
impl<I: FidlRouteAdminIpExt> Debug for RouteTableRequest<I>
Source§impl From<RouteTableV4Request> for RouteTableRequest<Ipv4>
impl From<RouteTableV4Request> for RouteTableRequest<Ipv4>
Source§fn from(value: RouteTableV4Request) -> Self
fn from(value: RouteTableV4Request) -> Self
Converts to this type from the input type.
Source§impl From<RouteTableV6Request> for RouteTableRequest<Ipv6>
impl From<RouteTableV6Request> for RouteTableRequest<Ipv6>
Source§fn from(value: RouteTableV6Request) -> Self
fn from(value: RouteTableV6Request) -> Self
Converts to this type from the input type.
Source§impl<I: FidlRouteAdminIpExt, IpType> GenericOverIp<IpType> for RouteTableRequest<I>where
IpType: FidlRouteAdminIpExt + Ip,
impl<I: FidlRouteAdminIpExt, IpType> GenericOverIp<IpType> for RouteTableRequest<I>where
IpType: FidlRouteAdminIpExt + Ip,
Source§type Type = RouteTableRequest<IpType>
type Type = RouteTableRequest<IpType>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.Auto Trait Implementations§
impl<I> Freeze for RouteTableRequest<I>where
<I as FidlRouteAdminIpExt>::RouteTableGetTableIdResponder: Freeze,
<I as FidlRouteAdminIpExt>::RouteTableControlHandle: Freeze,
<I as FidlRouteAdminIpExt>::RouteTableRemoveResponder: Freeze,
<I as FidlRouteAdminIpExt>::RouteTableGetAuthorizationResponder: Freeze,
impl<I> RefUnwindSafe for RouteTableRequest<I>where
<I as FidlRouteAdminIpExt>::RouteTableGetTableIdResponder: RefUnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableControlHandle: RefUnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableRemoveResponder: RefUnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableGetAuthorizationResponder: RefUnwindSafe,
<I as FidlRouteAdminIpExt>::RouteSetMarker: RefUnwindSafe,
impl<I> Send for RouteTableRequest<I>
impl<I> Sync for RouteTableRequest<I>where
<I as FidlRouteAdminIpExt>::RouteTableGetTableIdResponder: Sync,
<I as FidlRouteAdminIpExt>::RouteTableControlHandle: Sync,
<I as FidlRouteAdminIpExt>::RouteTableRemoveResponder: Sync,
<I as FidlRouteAdminIpExt>::RouteTableGetAuthorizationResponder: Sync,
impl<I> Unpin for RouteTableRequest<I>where
<I as FidlRouteAdminIpExt>::RouteTableGetTableIdResponder: Unpin,
<I as FidlRouteAdminIpExt>::RouteTableControlHandle: Unpin,
<I as FidlRouteAdminIpExt>::RouteTableRemoveResponder: Unpin,
<I as FidlRouteAdminIpExt>::RouteTableGetAuthorizationResponder: Unpin,
<I as FidlRouteAdminIpExt>::RouteSetMarker: Unpin,
impl<I> UnwindSafe for RouteTableRequest<I>where
<I as FidlRouteAdminIpExt>::RouteTableGetTableIdResponder: UnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableControlHandle: UnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableRemoveResponder: UnwindSafe,
<I as FidlRouteAdminIpExt>::RouteTableGetAuthorizationResponder: UnwindSafe,
<I as FidlRouteAdminIpExt>::RouteSetMarker: 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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§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.