Trait AsyncInternalModuleService

Source
pub trait AsyncInternalModuleService {
    // Required method
    fn batch_get_resolved_module_definitions(
        &self,
        auth_: BearerToken,
        request: BatchGetResolvedModuleDefinitionsRequest,
    ) -> impl Future<Output = Result<Vec<ResolvedModuleVersionDefinition>, Error>> + Send;
}
Expand description

This service provides internal APIs related to modules.

Required Methods§

Source

fn batch_get_resolved_module_definitions( &self, auth_: BearerToken, request: BatchGetResolvedModuleDefinitionsRequest, ) -> impl Future<Output = Result<Vec<ResolvedModuleVersionDefinition>, Error>> + Send

Returns the resolved module definitions for the given module-asset pairs. If any of modules have not been applied to their corresponding asset, this will throw.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§