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