pub trait ExpandAsync<A, Wrapped> {
    fn expand_layers_async<'a, E: Send + 'a, F: Fn(A) -> BoxFuture<'a, Result<Wrapped, E>> + Send + Sync + 'a>(
        a: A,
        expand_layer: F
    ) -> BoxFuture<'a, Result<Self, E>>
    where
        Self: Sized,
        A: Send + 'a
; }
Expand description

Support for asynchronously expanding a structure from a seed value, one layer at a time.

Required Methods

Implementors