pub trait InspectEnumerable<AccountId>: Inspect<AccountId> {
    fn instances() -> Box<dyn Iterator<Item = Self::InstanceId>>
Notable traits for Box<W, Global>
impl<W> Write for Box<W, Global> where
    W: Write + ?Sized
impl<R> Read for Box<R, Global> where
    R: Read + ?Sized
impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator
type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static, 
type Output = <F as Future>::Output;
;
fn owned(who: &AccountId) -> Box<dyn Iterator<Item = Self::InstanceId>>
Notable traits for Box<W, Global>
impl<W> Write for Box<W, Global> where
    W: Write + ?Sized
impl<R> Read for Box<R, Global> where
    R: Read + ?Sized
impl<I, A> Iterator for Box<I, A> where
    I: Iterator + ?Sized,
    A: Allocator
type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static, 
type Output = <F as Future>::Output;
; }
Expand description

Interface for enumerating assets in existence or owned by a given account over a collection of NFTs.

Required methods

Returns an iterator of the instances of an asset class in existence.

Returns an iterator of the asset instances of all classes owned by who.

Implementors