Skip to main content

HostAttachmentResolver

Trait HostAttachmentResolver 

Source
pub trait HostAttachmentResolver: Send + Sync {
    // Required method
    fn resolve(
        &self,
        artifact_pointer: &str,
        media_type: &str,
    ) -> Result<MaterializedAttachment, String>;
}

Required Methods§

Source

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".

Implementors§