AsyncIterable in js_sys - Rust (original) (raw)

js_sys

Trait AsyncIterable

Source

pub trait AsyncIterable {
    type Item;
}

Expand description

Trait for types known to implement the iterator protocol on Symbol.asyncIterator

Required Associated Types§

Source

type Item

Implementations on Foreign Types§

Source§

impl AsyncIterable for JsValue

Source§

type Item = JsValue

Source§

impl<T: AsyncIterable> AsyncIterable for &T

Source§

type Item = <T as AsyncIterable>::Item

Implementors§

Source§

impl AsyncIterable for AsyncIterator

Source§

type Item = T

Source§

impl<T: FromWasmAbi> AsyncIterable for AsyncGenerator

Source§

type Item = T