pub trait AssetProcessor<AssetId, Metadata> {
    fn pre_register(
        id: Option<AssetId>,
        asset_metadata: Metadata
    ) -> Result<(AssetId, Metadata), DispatchError>; fn post_register(
        _id: AssetId,
        _asset_metadata: Metadata
    ) -> Result<(), DispatchError> { ... } }

Required Methods§

Provided Methods§

Implementors§