pub trait Mapper<TInput, TOutput>: Send + Sync {
// Required method
fn map<'a, 'b, M>(
&'a self,
mappers: &'b M,
t: TInput,
) -> BoxFuture<'b, Result<TOutput>>
where M: Mappers<Output = TOutput> + Send,
TInput: 'b;
}Expand description
Mapper trait
Required Methods§
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.