Module mz_sql::session::vars::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.