Trait tract_pulse::internal::ResourceLoader  
source · pub trait ResourceLoader: Send + Sync {
    // Required methods
    fn name(&self) -> Cow<'_, str>;
    fn try_load(
        &self,
        path: &Path,
        reader: &mut dyn Read,
        framework: &Nnef,
    ) -> Result<Option<(String, Arc<dyn Resource>)>, Error>;
    // Provided method
    fn into_boxed(self) -> Box<dyn ResourceLoader>
       where Self: Sized + 'static { ... }
}