fidl_fuchsia_net_routes

Trait StateProxyInterface

Source
pub trait StateProxyInterface: Send + Sync {
    type ResolveResponseFut: Future<Output = Result<StateResolveResult, Error>> + Send;
    type GetRouteTableNameResponseFut: Future<Output = Result<StateGetRouteTableNameResult, Error>> + Send;

    // Required methods
    fn resolve(&self, destination: &IpAddress) -> Self::ResolveResponseFut;
    fn get_route_table_name(
        &self,
        table_id: u32,
    ) -> Self::GetRouteTableNameResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn resolve(&self, destination: &IpAddress) -> Self::ResolveResponseFut

Source

fn get_route_table_name( &self, table_id: u32, ) -> Self::GetRouteTableNameResponseFut

Implementors§