fidl_fuchsia_net_routes_adminTrait RuleSetV4ProxyInterface
Source pub trait RuleSetV4ProxyInterface: Send + Sync {
type AuthenticateForRouteTableResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForRouteTableResult, Error>> + Send;
type RemoveRuleResponseFut: Future<Output = Result<BaseRuleSetRemoveRuleResult, Error>> + Send;
type AddRuleResponseFut: Future<Output = Result<RuleSetV4AddRuleResult, 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: &RuleMatcherV4,
action: &RuleAction,
) -> Self::AddRuleResponseFut;
}