fidl_fuchsia_net_routes_admin

Trait BaseRuleSetProxyInterface

Source
pub trait BaseRuleSetProxyInterface: Send + Sync {
    type AuthenticateForRouteTableResponseFut: Future<Output = Result<BaseRuleSetAuthenticateForRouteTableResult, Error>> + Send;
    type RemoveRuleResponseFut: Future<Output = Result<BaseRuleSetRemoveRuleResult, 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>;
}

Required Associated Types§

Required Methods§

Source

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

Source

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

Source

fn close(&self) -> Result<(), Error>

Implementors§