Trait vm_resource::ResolveResource
source · pub trait ResolveResource<K: CanResolveTo<Self::Output>, T>: Send + Sync {
type Output;
type Error: Into<Box<dyn Error + Send + Sync>>;
// Required method
fn resolve(
&self,
resource: T,
input: K::Input<'_>,
) -> Result<Self::Output, Self::Error>;
}
Expand description
Trait implemented to resolve resource type T
as resource kind K
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.