Trait goods_treasury_import::Registry [−][src]
pub trait Registry { fn store(
&mut self,
source: &Path,
source_format: &str,
native_format: &str,
tags: &[&str]
) -> Result<Uuid>; fn fetch(&mut self, asset: &Uuid) -> Result<Box<Path>>; }
Expand description
Object to register sub-assets when importing super-asset.
Required methods
Register asset at source path, assigning specified importer. Source path must be absolute.