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

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 GlobalId into an inlined connection.
  • Takes ~T<ReferencedConnection> to ~T<InlinedConnection> by recursively inlining connections and resolving any referenced connections into their inlined version.