Module sqlx_core::driver_prelude
source · Expand description
Helper module to get drivers compiling again that used to be in this crate,
to avoid having to replace tons of use crate::<...>
imports.
This module can be glob-imported and should not clash with any modules a driver would want to implement itself.
Re-exports§
pub use crate::acquire;
pub use crate::common;
pub use crate::decode;
pub use crate::describe;
pub use crate::encode;
pub use crate::executor;
pub use crate::ext;
pub use crate::from_row;
pub use crate::fs;
pub use crate::io;
pub use crate::logger;
pub use crate::net;
pub use crate::pool;
pub use crate::query;
pub use crate::query_as;
pub use crate::query_builder;
pub use crate::query_scalar;
pub use crate::rt;
pub use crate::sync;
pub use crate::error::Error;
pub use crate::error::Result;
Structs§
- sqlx uses ahash for increased performance, at the cost of reduced DoS resistance. A
HashMap
usingRandomState
to hash the items. (Requires thestd
feature to be enabled.)
Enums§
- The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases.