Module blaze_pk::router

source ·
Expand description

Router implementation for routing packet components to different functions and automatically decoding the packet contents to the function type

Structs

  • Empty type used to represent the format of handler that is provided state
  • Empty type used to represent the format of handler that is not provided state
  • Route implementation for storing components mapped to route handlers

Enums

  • Error that can occur while handling a packet

Traits

  • Wrapper over the FromRequest type to support the unit type to differentiate
  • Trait implemented by handlers which can provided a boxed future to a response type which can be turned into a response