pub trait FlatMapFn<A, J, I, T, U>: Send + 'static {
type Iter: IntoIterator<Item = (Key<I>, U)>;
// Required method
fn execute(&self, scope: &mut Scope<I>, value: T) -> Result<Self::Iter>;
}Expand description
Flat map function.
Required Associated Types§
Sourcetype Iter: IntoIterator<Item = (Key<I>, U)>
type Iter: IntoIterator<Item = (Key<I>, U)>
Iterator type returned by this function.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".