[−][src]Trait obsidian::router::Handler
Required methods
#[must_use]fn call<'life0, 'async_trait>(
&'life0 self,
ctx: Context
) -> Pin<Box<dyn Future<Output = ContextResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
ctx: Context
) -> Pin<Box<dyn Future<Output = ContextResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<T, F> Handler for T where
T: Fn(Context) -> F + Send + Sync + 'static,
F: Future<Output = ContextResult> + Send + 'static,
[src]
T: Fn(Context) -> F + Send + Sync + 'static,
F: Future<Output = ContextResult> + Send + 'static,