Skip to main content

Module lookup

Module lookup 

Source
Expand description

Shared trait for typed header lookups from any key-value store.

HeaderLookup provides convenience accessors (typed channel state, call direction, timetable extraction, etc.) to any type that can look up headers and variables by name. Implement the two required methods and get everything else for free.

Enums§

ParseHeaderError
The union a caller reaches when ?-ing several typed HeaderLookup accessors into one error type.

Traits§

HeaderLookup
Trait for looking up ESL headers and channel variables from any key-value store.

Functions§

variable_key
Wire key of a channel variable: the VARIABLE_PREFIX ahead of its bare name.