Module blaze_pk::router

source ·

Structs

Structure wrapping a handler to allow the handler to implement Route
Empty type used for representing nothing used because the Unit type has trait implementations that will conflict with other Handler implementations
Route implementation for storing components mapped to route handlers

Traits

Trait implemented by things that can be used to handler a packet from the router and return a future to a response packet.
Trait for erasing the inner types of the handler routes
Trait implemented by structures that can be provided as state to a router handle function and passed into the handlers

Type Definitions

Future which results in a response packet being produced that can only live for the lifetime of ’a which is the state lifetime