pub trait ComponentSourceLoader {
// Required method
fn load_component_source<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 LockedComponentSource,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
This trait is used to load component source code from a locked component source across various embdeddings.