Skip to main content

RequestValuePipe

Trait RequestValuePipe 

Source
pub trait RequestValuePipe<I, O>:
    Send
    + Sync
    + 'static {
    // Required method
    fn transform(&self, value: I) -> Result<O>;
}
Expand description

Transforms a single request value extracted from a path, query, header, or host parameter.

Required Methods§

Source

fn transform(&self, value: I) -> Result<O>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§