pub trait HostAttachmentResolver: Send + Sync {
// Required method
fn resolve(
&self,
artifact_pointer: &str,
media_type: &str,
) -> Result<MaterializedAttachment, String>;
}Required Methods§
fn resolve( &self, artifact_pointer: &str, media_type: &str, ) -> Result<MaterializedAttachment, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".