pub trait RuleSetV4ProxyInterface: Send + Sync {
    type AuthenticateForRouteTableResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForRouteTableResult, Error>> + Send;
    type AuthenticateForInterfaceResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForInterfaceResult, 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 authenticate_for_interface(
        &self,
        credential: ProofOfInterfaceAuthorization
    ) -> Self::AuthenticateForInterfaceResponseFut;
    fn remove_rule(&self, index: u32) -> Self::RemoveRuleResponseFut;
    fn add_rule(
        &self,
        index: u32,
        selector: &RuleSelectorV4,
        action: &RuleAction
    ) -> Self::AddRuleResponseFut;
}

Required Associated Types§

Required Methods§

source

fn authenticate_for_route_table( &self, table: u32, token: Event ) -> Self::AuthenticateForRouteTableResponseFut

source

fn authenticate_for_interface( &self, credential: ProofOfInterfaceAuthorization ) -> Self::AuthenticateForInterfaceResponseFut

source

fn remove_rule(&self, index: u32) -> Self::RemoveRuleResponseFut

source

fn add_rule( &self, index: u32, selector: &RuleSelectorV4, action: &RuleAction ) -> Self::AddRuleResponseFut

Implementors§