Skip to main content

OutputMapProvider

Trait OutputMapProvider 

Source
pub trait OutputMapProvider<Ctx>: Send + Sync {
    type Input;
    type Output;

    // Required method
    fn map_output(ctx: &Ctx, input: Self::Input) -> Self::Output;
}
Expand description

Provider trait for output format mapping.

Required Associated Types§

Required Methods§

Source

fn map_output(ctx: &Ctx, input: Self::Input) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§