mz_sql::session::vars

Module polyfill

Source
Expand description

The types in this module exist to overcome limitations of the Rust compiler, namely limitations in const generics.

Macrosยง

  • lazy_value ๐Ÿ”’
    Creates a temporary struct that implements LazyValueFn and returns an instance of it.
  • value ๐Ÿ”’
    Assigns the provided value to a static, and returns a reference to it.

Traitsยง

  • Trait that helps us convert a fn() -> &'static impl Value to a fn() -> &'static dyn Value.