use polywrap_core::error::Error;
use polywrap_core::resolution::uri_resolution_context::UriPackageOrWrapper;
use polywrap_core::uri::Uri;
use std::sync::Arc;
pub trait ResolutionResultCache: Send + Sync {
fn get(&self, uri: &Uri) -> Option<&Arc<Result<UriPackageOrWrapper, Error>>>;
fn set(&mut self, uri: Uri, wrapper: Arc<Result<UriPackageOrWrapper, Error>>);
}