Module mz_storage_types::connections::inline

source ·
Expand description

Contains traits and types to support inlining connection details.

Because we ultimately want to support the ability to alter the details of a connection, we cannot simply inline their state into structs–we instead need a means of understanding which connection we’re referring to and inline its current state when sending the struct off to be used to handle a connection to an external service.

Structs§

Constants§

Traits§

  • Expresses how a struct/enum can access details about any connections it uses. Meant to be used as a type constraint on structs that use connections.
  • Permits any struct to take a CatalogItemId into an inlined connection.
  • Takes ~T<ReferencedConnection> to ~T<InlinedConnection> by recursively inlining connections and resolving any referenced connections into their inlined version.