[−][src]Trait roa_core::Handler
Associated Types
type StatusFuture: 'static + Future<Output = Result<R, Status>> + Send
Required methods
fn handle(&self, ctx: Context<M>) -> Self::StatusFuture
Provided methods
fn dynamic(self: Box<Self>) -> Box<DynHandler<M, R>>
Implementors
impl<M, R, F, T> Handler<M, R> for T where
M: Model,
F: 'static + Future<Output = Result<R, Status>> + Send,
T: 'static + Sync + Send + Fn(Context<M>) -> F,
[src]
M: Model,
F: 'static + Future<Output = Result<R, Status>> + Send,
T: 'static + Sync + Send + Fn(Context<M>) -> F,