pub trait AppBuilderExt {
// Required method
fn async_handler<C, F, Fut>(
self,
limit: impl Into<Option<usize>>,
invoke_handler: F,
) -> Self
where C: DeserializeOwned + Send + 'static,
F: FnMut(C) -> Fut + Send + 'static,
Fut: Future<Output = Result<Value>> + Send;
}
Required Methods§
fn async_handler<C, F, Fut>( self, limit: impl Into<Option<usize>>, invoke_handler: F, ) -> Self
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.