pub trait AsyncFuncWithoutPin<Fut>:
Fn(Context) -> Fut
+ Send
+ Sync
+ 'static{ }Expand description
Trait for async function handlers.
This trait is used for handlers that return a future directly.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".