Skip to main content

Module traits

Module traits 

Source
Expand description

Trait aliases for state-related Tower services.

These traits provide convenient aliases for tower::Service implementations that operate on Zebra state request and response types.

  • State: for services that handle state-modifying requests.
  • ReadState: for services that handle read-only state requests.

Traitsยง

ReadState
Trait alias for services handling read-only state requests.
State
Trait alias for services handling state-modifying requests.