fidl_fuchsia_pkgTrait PackageResolverProxyInterface
Source pub trait PackageResolverProxyInterface: Send + Sync {
type ResolveResponseFut: Future<Output = Result<PackageResolverResolveResult, Error>> + Send;
type ResolveWithContextResponseFut: Future<Output = Result<PackageResolverResolveWithContextResult, Error>> + Send;
type GetHashResponseFut: Future<Output = Result<PackageResolverGetHashResult, Error>> + Send;
// Required methods
fn resolve(
&self,
package_url: &str,
dir: ServerEnd<DirectoryMarker>,
) -> Self::ResolveResponseFut;
fn resolve_with_context(
&self,
package_url: &str,
context: &ResolutionContext,
dir: ServerEnd<DirectoryMarker>,
) -> Self::ResolveWithContextResponseFut;
fn get_hash(&self, package_url: &PackageUrl) -> Self::GetHashResponseFut;
}