Skip to main content

LocalAsyncInternalModuleService

Trait LocalAsyncInternalModuleService 

Source
pub trait LocalAsyncInternalModuleService<I: Stream<Item = Result<Bytes, Error>>> {
    // Required method
    fn batch_get_unresolved_module_definition(
        &self,
        auth_: &BearerToken,
        request: &BatchGetUnresolvedModuleDefinitionsRequest,
    ) -> impl Future<Output = Result<BatchGetUnresolvedModuleDefinitionsResponse, Error>>;
}
Expand description

This service provides internal APIs related to modules.

Required Methods§

Source

fn batch_get_unresolved_module_definition( &self, auth_: &BearerToken, request: &BatchGetUnresolvedModuleDefinitionsRequest, ) -> impl Future<Output = Result<BatchGetUnresolvedModuleDefinitionsResponse, Error>>

Returns the module definition for the given module reference.

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§