fidl_fuchsia_net_routes_ext::admin

Trait FidlRouteAdminIpExt

Source
pub trait FidlRouteAdminIpExt: Ip {
Show 17 associated items type RouteTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RouteTableRequestStream, Proxy: Clone>; type GlobalRouteTableMarker: DiscoverableProtocolMarker; type RouteSetMarker: ProtocolMarker<RequestStream = Self::RouteSetRequestStream>; type RouteTableProviderMarker: DiscoverableProtocolMarker<Proxy: Clone>; type RouteSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>; type RouteTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>; type AddRouteResponder: Responder<Payload = Result<bool, RouteSetError>>; type RemoveRouteResponder: Responder<Payload = Result<bool, RouteSetError>>; type RouteSetAuthenticateForInterfaceResponder: Responder<Payload = Result<(), AuthenticateForInterfaceError>>; type RouteTableGetTableIdResponder: Responder<Payload = u32>; type RouteTableRemoveResponder: Responder<Payload = Result<(), BaseRouteTableRemoveError>>; type RouteTableGetAuthorizationResponder: Responder<Payload = GrantForRouteTableAuthorization>; type RouteTableControlHandle: ControlHandle + Debug; // Required methods fn into_route_set_request( request: Request<Self::RouteSetMarker>, ) -> RouteSetRequest<Self>; fn into_route_table_request( request: Request<Self::RouteTableMarker>, ) -> RouteTableRequest<Self>; fn into_route_set_request_result( request: <Self::RouteSetRequestStream as Stream>::Item, ) -> Result<RouteSetRequest<Self>, Error>; fn into_route_table_request_result( request: <Self::RouteTableRequestStream as Stream>::Item, ) -> Result<RouteTableRequest<Self>, Error>;
}
Expand description

Admin extension for the fuchsia.net.routes.admin FIDL API.

Required Associated Types§

Source

type RouteTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RouteTableRequestStream, Proxy: Clone>

The “route table” protocol to use for this IP version.

Source

type GlobalRouteTableMarker: DiscoverableProtocolMarker

The “root set” protocol to use for this IP version.

Source

type RouteSetMarker: ProtocolMarker<RequestStream = Self::RouteSetRequestStream>

The “route set” protocol to use for this IP version.

Source

type RouteTableProviderMarker: DiscoverableProtocolMarker<Proxy: Clone>

The “route table provider” protocol to use for this IP version.

Source

type RouteSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>

The request stream for the route set protocol.

Source

type RouteTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>

The request stream for the route table protocol.

Source

type AddRouteResponder: Responder<Payload = Result<bool, RouteSetError>>

The responder for AddRoute requests.

Source

type RemoveRouteResponder: Responder<Payload = Result<bool, RouteSetError>>

The responder for RemoveRoute requests.

Source

type RouteSetAuthenticateForInterfaceResponder: Responder<Payload = Result<(), AuthenticateForInterfaceError>>

The responder for AuthenticateForInterface requests.

Source

type RouteTableGetTableIdResponder: Responder<Payload = u32>

The responder for GetTableId requests.

Source

type RouteTableRemoveResponder: Responder<Payload = Result<(), BaseRouteTableRemoveError>>

The responder for RemoveRequests.

Source

type RouteTableGetAuthorizationResponder: Responder<Payload = GrantForRouteTableAuthorization>

The responder for GetAuthorizationForRouteTable requests.

Source

type RouteTableControlHandle: ControlHandle + Debug

The control handle for RouteTable protocols.

Required Methods§

Source

fn into_route_set_request( request: Request<Self::RouteSetMarker>, ) -> RouteSetRequest<Self>

Turns a FIDL route set request into the extension type.

Source

fn into_route_table_request( request: Request<Self::RouteTableMarker>, ) -> RouteTableRequest<Self>

Turns a FIDL route table request into the extension type.

Source

fn into_route_set_request_result( request: <Self::RouteSetRequestStream as Stream>::Item, ) -> Result<RouteSetRequest<Self>, Error>

Turns a FIDL route set request stream item into a Result of the extension type.

Source

fn into_route_table_request_result( request: <Self::RouteTableRequestStream as Stream>::Item, ) -> Result<RouteTableRequest<Self>, Error>

Turns a FIDL route table request stream item into a Result of the extension type.

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 FidlRouteAdminIpExt for Ipv4

Source§

impl FidlRouteAdminIpExt for Ipv6

Implementors§