Expand description
Do not use this crate directly.
This is the immplementation crate for hdbconnect
and hdbconnect_async
.
If you need a synchronous driver, use hdbconnect
.
If you need an asynchronous driver, use hdbconnect_async
.
Modules§
- a_sync
- sync
- time
- Support for serializing from or deserializing into types of the
time
crate. - types
- Non-standard types that are used to represent database values.
- url
- Constants for use in connection URLs.
Macros§
Structs§
- Connect
Params - An immutable struct with all information necessary to open a new connection to a HANA database.
- Connect
Params Builder - A builder for
ConnectParams
. - Connection
Configuration - Connection
Statistics - Execution
Results - A list of execution results.
- Field
Metadata - Metadata of a field in a
ResultSet
. - Output
Parameters - A set of output parameters, as they can be returned by procedure calls.
- Parameter
Descriptor - Metadata for a parameter.
- Parameter
Descriptors - Describes a set of IN, INOUT, and OUT parameters. Can be empty.
- Result
SetMetadata - List of metadata of the fields of a resultset.
- Row
- A single line of a
ResultSet
, consisting of the containedHdbValue
s and a reference to the metadata. - Rows
- Representation of a
ResultSet
that is fully loaded. - Server
Error - Describes an error that is reported from the database.
- Server
Usage - Describes the server-side resource consumption.
Enums§
- Cursor
Holdability - Deserialization
Error - The errors that can arise while deserializing with
serde_db::de
. - Execution
Result - Describes the success of a command.
- HdbError
- A list specifying categories of
HdbError
. - HdbValue
- Enum for all supported database value types.
- Parameter
Binding - Describes whether a parameter is Nullable or not or if it has a default value.
- Parameter
Direction - Describes whether a parameter is used for input, output, or both.
- Serialization
Error - Error that can occur while serializing a standard rust type or struct into a SQL parameter.
- Server
Certs - Expresses where Certificates for TLS are read from.
- Severity
- Severity of a server message
- TypeId
- ID of the value type of a database column or a parameter.
Traits§
- Into
Connect Params - A trait implemented by types that can be converted into a
ConnectParams
. - Into
Connect Params Builder - A trait implemented by types that can be converted into a
ConnectParamsBuilder
. - ToHana
- Helper trait for serialization.
Type Aliases§
- HdbResult
- Abbreviation of
Result<T, HdbError>
.