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§
Sourcetype RouteTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RouteTableRequestStream, Proxy: Clone>
type RouteTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RouteTableRequestStream, Proxy: Clone>
The “route table” protocol to use for this IP version.
Sourcetype GlobalRouteTableMarker: DiscoverableProtocolMarker
type GlobalRouteTableMarker: DiscoverableProtocolMarker
The “root set” protocol to use for this IP version.
Sourcetype RouteSetMarker: ProtocolMarker<RequestStream = Self::RouteSetRequestStream>
type RouteSetMarker: ProtocolMarker<RequestStream = Self::RouteSetRequestStream>
The “route set” protocol to use for this IP version.
Sourcetype RouteTableProviderMarker: DiscoverableProtocolMarker<Proxy: Clone>
type RouteTableProviderMarker: DiscoverableProtocolMarker<Proxy: Clone>
The “route table provider” protocol to use for this IP version.
Sourcetype RouteSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
type RouteSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
The request stream for the route set protocol.
Sourcetype RouteTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
type RouteTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
The request stream for the route table protocol.
Sourcetype AddRouteResponder: Responder<Payload = Result<bool, RouteSetError>>
type AddRouteResponder: Responder<Payload = Result<bool, RouteSetError>>
The responder for AddRoute requests.
Sourcetype RemoveRouteResponder: Responder<Payload = Result<bool, RouteSetError>>
type RemoveRouteResponder: Responder<Payload = Result<bool, RouteSetError>>
The responder for RemoveRoute requests.
Sourcetype RouteSetAuthenticateForInterfaceResponder: Responder<Payload = Result<(), AuthenticateForInterfaceError>>
type RouteSetAuthenticateForInterfaceResponder: Responder<Payload = Result<(), AuthenticateForInterfaceError>>
The responder for AuthenticateForInterface requests.
Sourcetype RouteTableGetTableIdResponder: Responder<Payload = u32>
type RouteTableGetTableIdResponder: Responder<Payload = u32>
The responder for GetTableId requests.
Sourcetype RouteTableRemoveResponder: Responder<Payload = Result<(), BaseRouteTableRemoveError>>
type RouteTableRemoveResponder: Responder<Payload = Result<(), BaseRouteTableRemoveError>>
The responder for RemoveRequests.
Sourcetype RouteTableGetAuthorizationResponder: Responder<Payload = GrantForRouteTableAuthorization>
type RouteTableGetAuthorizationResponder: Responder<Payload = GrantForRouteTableAuthorization>
The responder for GetAuthorizationForRouteTable requests.
Sourcetype RouteTableControlHandle: ControlHandle + Debug
type RouteTableControlHandle: ControlHandle + Debug
The control handle for RouteTable protocols.
Required Methods§
Sourcefn into_route_set_request(
request: Request<Self::RouteSetMarker>,
) -> RouteSetRequest<Self>
fn into_route_set_request( request: Request<Self::RouteSetMarker>, ) -> RouteSetRequest<Self>
Turns a FIDL route set request into the extension type.
Sourcefn into_route_table_request(
request: Request<Self::RouteTableMarker>,
) -> RouteTableRequest<Self>
fn into_route_table_request( request: Request<Self::RouteTableMarker>, ) -> RouteTableRequest<Self>
Turns a FIDL route table request into the extension type.
Sourcefn into_route_set_request_result(
request: <Self::RouteSetRequestStream as Stream>::Item,
) -> Result<RouteSetRequest<Self>, Error>
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.
Sourcefn into_route_table_request_result(
request: <Self::RouteTableRequestStream as Stream>::Item,
) -> Result<RouteTableRequest<Self>, Error>
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.