fidl_fuchsia_net_routes_admin

Trait RouteTableV4ProxyInterface

Source
pub trait RouteTableV4ProxyInterface: Send + Sync {
    type GetTableIdResponseFut: Future<Output = Result<u32, Error>> + Send;
    type RemoveResponseFut: Future<Output = Result<BaseRouteTableRemoveResult, Error>> + Send;
    type GetAuthorizationForRouteTableResponseFut: Future<Output = Result<GrantForRouteTableAuthorization, Error>> + Send;

    // Required methods
    fn get_table_id(&self) -> Self::GetTableIdResponseFut;
    fn detach(&self) -> Result<(), Error>;
    fn remove(&self) -> Self::RemoveResponseFut;
    fn get_authorization_for_route_table(
        &self,
    ) -> Self::GetAuthorizationForRouteTableResponseFut;
    fn new_route_set(
        &self,
        route_set: ServerEnd<RouteSetV4Marker>,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Implementors§