Struct meio_connect::server::route::WebRoute [−][src]
pub struct WebRoute<E, A> where
A: Actor, { /* fields omitted */ }
Expand description
The route matcher for ordinary HTTP request.
Implementations
Trait Implementations
impl<E, A> Route for WebRoute<E, A> where
E: FromRequest,
A: Actor + ActionHandler<Interact<Req<E>>>,
impl<E, A> Route for WebRoute<E, A> where
E: FromRequest,
A: Actor + ActionHandler<Interact<Req<E>>>,
Here used ActionHandler
instead of InteractionHandler
to make it possible to use both types of handlers.
And ActionHandler
is useful to handle long running requests.
Tries to process a request and produce a response for it. Read more
Auto Trait Implementations
impl<E, A> !RefUnwindSafe for WebRoute<E, A>
impl<E, A> !UnwindSafe for WebRoute<E, A>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more