Structsยง
- Each session could run different SQLs multiple times.
ExecContext
represents the lifetime of a running SQL in the current session. ExecContextGuard
holds aArc
pointer. OnceExecContextGuard
is dropped, the innerArc<ExecContext>
should not be referred anymore, so that itsWeak
reference (used inSessionImpl
) will be the same lifecycle of the running sql execution context.- Jwk ๐A JSON Web Key (JWK) is a JSON object that represents a cryptographic key. See https://www.rfc-editor.org/rfc/rfc7517.html#section-4 for more details.
- Jwks ๐A JWK Set is a JSON object that represents a set of JWKs. The JSON object MUST have a โkeysโ member, with its value being an array of JWKs. See https://www.rfc-editor.org/rfc/rfc7517.html#section-5 for more details.
Enumsยง
Traitsยง
- A psql connection. Each connection binds with a database. Switching database will need to recreate another connection.
- The interface for a database system behind pgwire protocol. We can mock it for testing purpose.
Functionsยง
- Binds a Tcp or Unix listener at
addr
. Spawn a coroutine to serve every new connection. - validate_
jwt ๐