referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::token::fungibles

Trait InspectEnumerable

pub trait InspectEnumerable<AccountId>: Inspect<AccountId> {
    type AssetsIterator;

    // Required method
    fn asset_ids() -> Self::AssetsIterator;
}
Expand description

Interface for enumerating assets in existence or owned by a given account.

Required Associated Types§

Required Methods§

fn asset_ids() -> Self::AssetsIterator

Returns an iterator of the collections in existence.

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.

Implementors§

impl<T: Config<I>, I: 'static> Inspect<<T as Config>::AccountId> for Pallet<T, I>