pub trait FidlRuleAdminIpExt: Ip {
type RuleTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RuleTableRequestStream>;
type RuleSetMarker: ProtocolMarker<RequestStream = Self::RuleSetRequestStream>;
type RuleTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>;
type RuleSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>;
type RuleSetAddRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>;
type RuleSetRemoveRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>;
type RuleSetAuthenticateForRouteTableResponder: Responder<Payload = Result<(), AuthenticateForRouteTableError>, ControlHandle = Self::RuleSetControlHandle>;
type RuleTableControlHandle: ControlHandle + Send + Clone;
type RuleSetControlHandle: ControlHandle + Send + Clone;
// Required methods
fn into_rule_set_request(
request: Request<Self::RuleSetMarker>,
) -> RuleSetRequest<Self>;
fn into_rule_table_request(
request: Request<Self::RuleTableMarker>,
) -> RuleTableRequest<Self>;
}
Expand description
Admin extension for the rules part of fuchsia.net.routes.admin
FIDL API.
Required Associated Types§
Sourcetype RuleTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RuleTableRequestStream>
type RuleTableMarker: DiscoverableProtocolMarker<RequestStream = Self::RuleTableRequestStream>
The “rule table” protocol to use for this IP version.
Sourcetype RuleSetMarker: ProtocolMarker<RequestStream = Self::RuleSetRequestStream>
type RuleSetMarker: ProtocolMarker<RequestStream = Self::RuleSetRequestStream>
The “rule set” protocol to use for this IP Version.
Sourcetype RuleTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
type RuleTableRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
The request stream for the rule table protocol.
Sourcetype RuleSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
type RuleSetRequestStream: RequestStream<Ok: Send, ControlHandle: Send>
The request stream for the rule set protocol.
Sourcetype RuleSetAddRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>
type RuleSetAddRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>
The responder for AddRule requests.
Sourcetype RuleSetRemoveRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>
type RuleSetRemoveRuleResponder: Responder<Payload = Result<(), RuleSetError>, ControlHandle = Self::RuleSetControlHandle>
The responder for RemoveRule requests.
Sourcetype RuleSetAuthenticateForRouteTableResponder: Responder<Payload = Result<(), AuthenticateForRouteTableError>, ControlHandle = Self::RuleSetControlHandle>
type RuleSetAuthenticateForRouteTableResponder: Responder<Payload = Result<(), AuthenticateForRouteTableError>, ControlHandle = Self::RuleSetControlHandle>
The responder for AuthenticateForRouteTable requests.
Sourcetype RuleTableControlHandle: ControlHandle + Send + Clone
type RuleTableControlHandle: ControlHandle + Send + Clone
The control handle for RuleTable protocols.
Sourcetype RuleSetControlHandle: ControlHandle + Send + Clone
type RuleSetControlHandle: ControlHandle + Send + Clone
The control handle for RuleSet protocols.
Required Methods§
Sourcefn into_rule_set_request(
request: Request<Self::RuleSetMarker>,
) -> RuleSetRequest<Self>
fn into_rule_set_request( request: Request<Self::RuleSetMarker>, ) -> RuleSetRequest<Self>
Turns a FIDL rule set request into the extension type.
Sourcefn into_rule_table_request(
request: Request<Self::RuleTableMarker>,
) -> RuleTableRequest<Self>
fn into_rule_table_request( request: Request<Self::RuleTableMarker>, ) -> RuleTableRequest<Self>
Turns a FIDL rule table request into 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.