Crate domner_tech_sql_client

Crate domner_tech_sql_client 

Source

Modules§

error
Error module
fmt
Adapters for alternative string formats.
numeric
Representations of numeric types.
pool_manager
serde
Adapters for alternative serde formats.
time
Date and time handling.
timestamp
Generating UUIDs from timestamps.
xml
The XML containers

Macros§

uuid
Parse Uuids from string literals at compile time.

Structs§

Builder
A builder for creating a UUID.
BulkLoadRequest
A handler for a bulk insert data flow.
Client
Client is the main entry point to the SQL Server, providing query execution capabilities.
Column
A column of data from a query.
Config
The Config struct contains all configuration information required for connecting to the database with a Client. It also provides the server address when connecting to a TcpStream via the get_addr method.
Error
A general error that can occur when working with UUIDs.
ExecuteResult
A result from a query execution, listing the number of affected rows.
MssqlRow
A row of data from a query.
NoContext
An empty counter that will always return the value 0.
NonNilUuid
A UUID that is guaranteed not to be the nil UUID.
PgRow
A row of data returned from the database by a query.
Query
A query object with bind parameters.
QueryStream
A set of Streams of QueryItem values, which can be either result metadata or a row.
ResultMetadata
Info about the following stream of rows.
Row
A row of data from a query.
SqlRepo
Timestamp
A timestamp that can be encoded into a UUID.
TokenRow
A row of data.
Uuid
A Universally Unique Identifier (UUID).

Enums§

AuthMethod
Defines the method of authentication to the server.
ColumnData
A container of a value that can be represented as a TDS value.
ColumnFlag
A setting a column can hold.
ColumnType
The type of the column.
CommandType
EncryptionLevel
The configured encryption level specifying if encryption is required
QueryItem
Resulting data from a query.
TypeLength
A length of a column in bytes or characters.
Variant
The reserved variants of UUIDs.
Version
The version of the UUID, denoting the generating algorithm.

Traits§

ClockSequence
A counter that can be used by versions 1 and 6 UUIDs to support the uniqueness of timestamps.
FromSql
A conversion trait from a TDS type by-reference.
FromSqlOwned
A conversion trait from a TDS type by-value.
IntoRow
create a TokenRow from list of values
IntoSql
A by-value conversion trait to a TDS type.
MssqlToSql
A conversion trait to a TDS type.
PgToSql
A trait for types that can be converted into Postgres values.
SqlBrowser
An extension trait to a TcpStream to find a port and connecting to a named database instance.
ToSql
A conversion trait to a TDS type.
UnifiedToSql

Type Aliases§

Bytes
A 128-bit (16 byte) buffer containing the UUID.
Result
Result<T, Error>