Skip to main content

Module resources

Module resources 

Source
Expand description

Branded prepared-statement and portal resources with proxy name rewriting.

Structs§

Portal
A bound portal tied to the same brand as its statement.
PreparedStatement
A prepared statement tied to one generative connection brand.
ResourceConnection
A connection paired with its generative statement and portal namespace.
ResourceScope
Connection-local statement and portal namespaces.

Enums§

ResourceAwaitingTransition
Projection while awaiting readiness after an extended-query result.
ResourceDrainingTransition
Projection while draining an errored resource-aware pipeline.
ResourceError
Failure to resolve or allocate a branded protocol resource.
ResourceProtocolError
A resource-namespace or wire-encoding failure.
ResourceReadyState
Readiness projected while retaining the connection’s resource brand.

Functions§

with_connection_resources
Runs an extended-query operation with one brand shared by its connection and resource namespace.
with_connection_resources_async
Runs an asynchronous operation with one brand shared by its connection and resource namespace.
with_resources
Runs an operation with a fresh resource brand which cannot escape the closure.

Type Aliases§

BindResult
Result of binding a portal for the first time in a pipeline.
BoundPrepareResult
Result of preparing another statement after a portal has been bound.
PrepareResult
Result of preparing a statement while building an extended-query pipeline.
RebindResult
Result of binding another portal after the pipeline has become executable.