pub trait AssetRegistryRead: StateRead {
// Provided method
fn denom_metadata_by_asset<'life0, 'life1, 'async_trait>(
&'life0 self,
asset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Option<Metadata>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Available on crate feature
component
only.Provided Methods§
fn denom_metadata_by_asset<'life0, 'life1, 'async_trait>(
&'life0 self,
asset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Option<Metadata>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
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.