Skip to main content

IntoMwEntry

Trait IntoMwEntry 

Source
pub trait IntoMwEntry {
    // Required method
    fn into_mw_entry(self) -> MwEntry;
}
Expand description

Convert into a named MwEntry (explicit name via named, else type name).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl IntoMwEntry for Middleware

Source§

impl IntoMwEntry for MwEntry

Source§

impl<F, Fut> IntoMwEntry for F
where F: Fn(Request, Next) -> Fut + Send + Sync + 'static, Fut: Future<Output = Response> + Send + 'static,