Trait actionable::Dispatcher[][src]

pub trait Dispatcher<T>: Send + Sync {
    type Result: Send + Sync;
    fn dispatch(&self, permissions: &Permissions, request: T) -> Self::Result;
}
Expand description

Dispatches T to an appropriate handler. This trait is derivable.

Associated Types

The type of the result.

Required methods

Dispatches request to the appropriate handler while also ensuring permissions allows the request.

Implementors