pub trait ProxyResolver {
// Required method
fn resolve(&self, proxy_uuid: &str) -> Option<ProxyTarget>;
}Expand description
Turns the uuid of an EpcExternalPartReference into what it stands for.
In an EPC that means reading the proxy’s .rels for the file name and the
proxy object for the MIME type. Implemented by the store, because only the
store can see either.
Required Methods§
Sourcefn resolve(&self, proxy_uuid: &str) -> Option<ProxyTarget>
fn resolve(&self, proxy_uuid: &str) -> Option<ProxyTarget>
What the proxy with this uuid names, if the package knows.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ProxyResolver for EpcStore
Resolving proxies is something only the package can do, so the store is the resolver.