pub trait RuleSetV6ProxyInterface: Send + Sync {
type AuthenticateForRouteTableResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForRouteTableResult, Error>> + Send;
type RemoveRuleResponseFut: Future<Output = Result<BaseRuleSetRemoveRuleResult, Error>> + Send;
type AddRuleResponseFut: Future<Output = Result<RuleSetV6AddRuleResult, Error>> + Send;
// Required methods
fn authenticate_for_route_table(
&self,
table: u32,
token: Event,
) -> Self::AuthenticateForRouteTableResponseFut;
fn remove_rule(&self, index: u32) -> Self::RemoveRuleResponseFut;
fn close(&self) -> Result<(), Error>;
fn add_rule(
&self,
index: u32,
matcher: &RuleMatcherV6,
action: &RuleAction,
) -> Self::AddRuleResponseFut;
}Required Associated Types§
type AuthenticateForRouteTableResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForRouteTableResult, Error>> + Send
type RemoveRuleResponseFut: Future<Output = Result<BaseRuleSetRemoveRuleResult, Error>> + Send
type AddRuleResponseFut: Future<Output = Result<RuleSetV6AddRuleResult, Error>> + Send
Required Methods§
fn authenticate_for_route_table( &self, table: u32, token: Event, ) -> Self::AuthenticateForRouteTableResponseFut
fn remove_rule(&self, index: u32) -> Self::RemoveRuleResponseFut
fn close(&self) -> Result<(), Error>
fn add_rule( &self, index: u32, matcher: &RuleMatcherV6, action: &RuleAction, ) -> Self::AddRuleResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".