fidl_fuchsia_sys2

Trait RouteValidatorProxyInterface

Source
pub trait RouteValidatorProxyInterface: Send + Sync {
    type ValidateResponseFut: Future<Output = Result<RouteValidatorValidateResult, Error>> + Send;
    type RouteResponseFut: Future<Output = Result<RouteValidatorRouteResult, Error>> + Send;

    // Required methods
    fn validate(&self, moniker: &str) -> Self::ValidateResponseFut;
    fn route(
        &self,
        moniker: &str,
        targets: &[RouteTarget],
    ) -> Self::RouteResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn validate(&self, moniker: &str) -> Self::ValidateResponseFut

Source

fn route( &self, moniker: &str, targets: &[RouteTarget], ) -> Self::RouteResponseFut

Implementors§