pub trait Pipe<Input>:
Send
+ Sync
+ 'static {
type Output;
// Required method
fn transform(
value: Input,
ctx: &RequestContext,
) -> Result<Self::Output, HttpException>;
}Required Associated Types§
Required Methods§
fn transform( value: Input, ctx: &RequestContext, ) -> Result<Self::Output, HttpException>
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.