mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
34 lines
1.0 KiB
Rust
34 lines
1.0 KiB
Rust
// Many protocol types are implemented but unused (currently). The hope is to eventually
|
|
// work them all into the (raw) connection type.
|
|
#![allow(unused)]
|
|
|
|
// Reference: https://mariadb.com/kb/en/library/connection
|
|
// Packets: https://mariadb.com/kb/en/library/0-packet
|
|
|
|
mod binary;
|
|
mod capabilities;
|
|
mod connect;
|
|
mod encode;
|
|
mod error_code;
|
|
mod field;
|
|
mod response;
|
|
mod server_status;
|
|
mod text;
|
|
|
|
pub use binary::{
|
|
ComStmtClose, ComStmtExecute, ComStmtFetch, ComStmtPrepare, ComStmtPrepareOk, ComStmtReset,
|
|
StmtExecFlag,
|
|
};
|
|
pub use capabilities::Capabilities;
|
|
pub use connect::{
|
|
AuthenticationSwitchRequest, HandshakeResponsePacket, InitialHandshakePacket, SslRequest,
|
|
};
|
|
pub use encode::Encode;
|
|
pub use error_code::ErrorCode;
|
|
pub use field::{FieldDetailFlag, FieldType, ParameterFlag};
|
|
pub use response::{
|
|
ColumnCountPacket, ColumnDefinitionPacket, EofPacket, ErrPacket, OkPacket, ResultRow,
|
|
};
|
|
pub use server_status::ServerStatusFlag;
|
|
pub use text::{ComDebug, ComInitDb, ComPing, ComProcessKill, ComQuery, ComQuit};
|