fidl_fuchsia_component_resolution

Trait ResolverProxyInterface

Source
pub trait ResolverProxyInterface: Send + Sync {
    type ResolveResponseFut: Future<Output = Result<ResolverResolveResult, Error>> + Send;
    type ResolveWithContextResponseFut: Future<Output = Result<ResolverResolveWithContextResult, Error>> + Send;

    // Required methods
    fn resolve(&self, component_url: &str) -> Self::ResolveResponseFut;
    fn resolve_with_context(
        &self,
        component_url: &str,
        context: &Context,
    ) -> Self::ResolveWithContextResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn resolve(&self, component_url: &str) -> Self::ResolveResponseFut

Source

fn resolve_with_context( &self, component_url: &str, context: &Context, ) -> Self::ResolveWithContextResponseFut

Implementors§