Skip to main content

Crate oracledb_protocol

Crate oracledb_protocol 

Source

Modules§

capabilities
crypto
dpl
Direct Path Load (DPL) protocol support.
net
oson
OSON (Oracle’s binary encoding of JSON) codec for DB_TYPE_JSON (ora_type_num 119).
packet
sql
thin
TTC thin-protocol wire codecs, split across cohesive submodules. mod.rs wires the submodules and re-exports their items so every oracledb_protocol::thin::* path that downstream crates depend on stays reachable, and so submodules see each other via use super::*.
tls
Sans-I/O TLS/TCPS support: SNI construction, server-DN matching, and Oracle wallet readers.
vector
Oracle VECTOR wire codec (reference impl/base/vector.pyx).
wire

Structs§

ClientIdentity
ResourceLimit
Structured details for a protocol resource-limit violation.
ServerErrorDetails
Structured server error information parsed from the TTC error trailer (reference impl/thin/messages/base.pyx _process_error_info).

Enums§

ProtocolError

Constants§

PYTHON_ORACLEDB_REFERENCE_COMMIT
PYTHON_ORACLEDB_REFERENCE_TAG
TNS_VERSION_DESIRED
TNS_VERSION_MIN
TNS_VERSION_MIN_ACCEPTED
Lowest server TNS protocol version this driver will talk to (12.1-era wire format). The CONNECT packet still advertises TNS_VERSION_MIN like the reference, but an ACCEPT below this floor is refused outright (reference constants.pxi TNS_VERSION_MIN_ACCEPTED / connect.pyx raising ERR_SERVER_VERSION_NOT_SUPPORTED, DPY-3010). Oracle 11g answers ACCEPT with protocol version 314 and an older, shorter payload layout; without this floor the parser would surface a misleading “truncated TTC payload” decode error instead of a clean, self-explanatory refusal.

Type Aliases§

Result