Docs.rs
  • sqlx-build-trust-core-0.7.9
    • sqlx-build-trust-core 0.7.9
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • etorreborre
    • Dependencies
      • ahash ^0.8.7 normal
      • async-io ^1.9.0 normal optional
      • async-std ^1.12 normal optional
      • atoi ^2.0 normal
      • bigdecimal ^0.3.0 normal optional
      • bit-vec ^0.6.3 normal optional
      • bstr ^1.0 normal optional
      • byteorder ^1.4.3 normal
      • bytes ^1.1.0 normal
      • chrono ^0.4.19 normal optional
      • crc ^3 normal optional
      • crossbeam-queue ^0.3.2 normal
      • digest ^0.10.0 normal optional
      • either ^1.6.1 normal
      • encoding_rs ^0.8.30 normal optional
      • event-listener ^2.5.2 normal
      • futures-channel ^0.3.19 normal
      • futures-core ^0.3.19 normal
      • futures-intrusive ^0.5.0 normal
      • futures-io ^0.3.24 normal
      • futures-util ^0.3.19 normal
      • hashlink ^0.8.0 normal
      • hex ^0.4.3 normal
      • indexmap ^2.0 normal
      • ipnetwork ^0.20.0 normal optional
      • log ^0.4.14 normal
      • mac_address ^1.1.5 normal optional
      • memchr ^2.4.1 normal
      • native-tls ^0.2.10 normal optional
      • num-bigint ^0.4.0 normal optional
      • once_cell ^1.9.0 normal
      • paste ^1.0.6 normal
      • percent-encoding ^2.1.0 normal
      • regex ^1.5.5 normal optional
      • rust_decimal ^1.26.1 normal optional
      • rustls ^0.21.7 normal optional
      • rustls-pemfile ^1.0 normal optional
      • serde ^1.0.132 normal optional
      • serde_json ^1.0.73 normal optional
      • sha1 ^0.10.1 normal optional
      • sha2 ^0.10.0 normal optional
      • smallvec ^1.7.0 normal
      • sqlformat ^0.2.0 normal
      • thiserror ^1.0.30 normal
      • time ^0.3.14 normal optional
      • tokio ^1 normal optional
      • tokio-stream ^0.1.8 normal optional
      • tracing ^0.1.37 normal
      • url ^2.2.2 normal
      • uuid ^1.1.2 normal optional
      • webpki-roots ^0.25 normal optional
      • tokio ^1 dev
    • Versions
    • 59.86% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate sqlx_build_trust_core

sqlx_build_trust_core0.7.9

  • All Items

Sections

  • Note: Semver Exempt API

Crate Items

  • Re-exports
  • Modules
  • Macros
  • Structs
  • Enums

Crates

  • sqlx_build_trust_core

Crate sqlx_build_trust_core

Source
Expand description

Core of SQLx, the rust SQL toolkit.

§Note: Semver Exempt API

The API of this crate is not meant for general use and does not follow Semantic Versioning. The only crate that follows Semantic Versioning in the project is the sqlx crate itself. If you are building a custom SQLx driver, you should pin an exact version for sqlx-core to avoid breakages:

sqlx-core = { version = "=0.6.2" }

And then make releases in lockstep with sqlx-core. We recommend all driver crates, in-tree or otherwise, use the same version numbers as sqlx-core to avoid confusion.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use percent_encoding;
pub use url;
pub use bytes;

Modules§

acquire
arguments
Types and traits for passing arguments to SQL queries.
column
common
connection
database
Traits to represent a database driver.
decode
Provides Decode for decoding values from the database.
describe
driver_prelude
Helper module to get drivers compiling again that used to be in this crate, to avoid having to replace tons of use crate::<...> imports.
encode
Provides Encode for encoding values for the database.
error
Types for working with errors produced by SQLx.
executor
ext
from_row
fs
io
logger
net
pool
Provides the connection pool for asynchronous SQLx connections.
query
query_as
query_builder
Runtime query-builder API.
query_scalar
raw_sql
row
rt
statement
sync
transaction
type_info
types
Conversions between Rust and SQL types.
value

Macros§

err_protocol
Format an error message as a Protocol error
impl_acquire
impl_column_index_for_row
impl_column_index_for_statement
impl_encode_for_option
impl_into_arguments_for_arguments
impl_statement_query
try_stream

Structs§

HashMap
sqlx uses ahash for increased performance, at the cost of reduced DoS resistance. A HashMap using RandomState to hash the items. (Requires the std feature to be enabled.)
IndexMap
A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
SmallVec
A Vec-like container that can store a small number of elements inline.
Url
A parsed URL record.

Enums§

Either
The enum Either with variants Left and Right is a general purpose sum type with two cases.

Results

Settings
Help
    trait
    sqlx_build_trust_core::statement::Statement
    An explicitly prepared statement.
    assoc type
    sqlx_build_trust_core::database::HasStatement::Statement
    The concrete Statement implementation for this database.
    trait method
    sqlx_build_trust_core::executor::Execute::statement
    Gets the previously cached statement, if available.
    module
    sqlx_build_trust_core::statement
    method
    sqlx_build_trust_core::query::Query::statement
    method
    sqlx_build_trust_core::query::Map::statement
    method
    sqlx_build_trust_core::query_as::QueryAs::statement
    method
    sqlx_build_trust_core::query_scalar::QueryScalar::statement
    method
    sqlx_build_trust_core::raw_sql::RawSql::statement
    struct
    sqlx_build_trust_core::common::StatementCache
    A cache for prepared statements. When full, the least …
    struct field
    sqlx_build_trust_core::connection::LogSettings::statements_level
    trait
    sqlx_build_trust_core::database::HasStatement
    Associate Database with a Statement of a generic lifetime.
    trait method
    sqlx_build_trust_core::connection::ConnectOptions::log_statements
    Log executed statements with the specified level
    method
    sqlx_build_trust_core::connection::LogSettings::log_statements
    trait
    sqlx_build_trust_core::database::HasStatementCache
    A Database that maintains a client-side cache of prepared …
    macro
    sqlx_build_trust_core::impl_statement_query
    struct field
    sqlx_build_trust_core::connection::LogSettings::slow_statements_level
    struct field
    sqlx_build_trust_core::connection::LogSettings::slow_statements_duration
    function
    sqlx_build_trust_core::query::query_statement
    Execute a single SQL query as a prepared statement …
    function
    sqlx_build_trust_core::query_as::query_statement_as
    function
    sqlx_build_trust_core::query::query_statement_with
    Execute a single SQL query as a prepared statement …
    function
    sqlx_build_trust_core::query_scalar::query_statement_scalar
    function
    sqlx_build_trust_core::query_as::query_statement_as_with
    function
    sqlx_build_trust_core::query_scalar::query_statement_scalar_with
    method
    sqlx_build_trust_core::connection::Connection::cached_statements_size
    The number of statements currently cached in the …
    trait method
    sqlx_build_trust_core::connection::ConnectOptions::log_slow_statements
    Log executed statements with a duration above the …
    method
    sqlx_build_trust_core::connection::LogSettings::log_slow_statements
    method
    sqlx_build_trust_core::connection::ConnectOptions::disable_statement_logging
    Entirely disables statement logging (both slow and …
    method
    sqlx_build_trust_core::connection::Connection::clear_cached_statements
    Removes all statements from the cache, closing them on the …
    macro
    sqlx_build_trust_core::impl_column_index_for_statement
    trait method
    sqlx_build_trust_core::statement::Statement::to_owned
    &Statement ->
    Creates an owned statement from this statement reference. …
    trait method
    sqlx_build_trust_core::statement::Statement::sql
    &Statement -> &str
    Get the original SQL text used to create this statement.
    trait method
    sqlx_build_trust_core::statement::Statement::query
    &Statement -> Query<Statement::Database>
    trait method
    sqlx_build_trust_core::statement::Statement::columns
    &Statement -> &[]
    Get the columns expected to be returned by executing this …
    trait method
    sqlx_build_trust_core::statement::Statement::query_scalar
    &Statement -> QueryScalar<Statement::Database, O>
    trait method
    sqlx_build_trust_core::statement::Statement::query_as
    &Statement -> QueryAs<Statement::Database, O>
    trait method
    sqlx_build_trust_core::statement::Statement::parameters
    &Statement -> Option<Either<&[], usize>>
    Get the expected parameters for this statement.
    method
    sqlx_build_trust_core::statement::Statement::column
    &Statement, I -> &
    Gets the column information at index.
    trait method
    sqlx_build_trust_core::statement::Statement::query_with
    &Statement, A -> Query<Statement::Database, A>
    trait method
    sqlx_build_trust_core::statement::Statement::query_scalar_with
    &Statement, A -> QueryScalar<Statement::Database, O, A>
    method
    sqlx_build_trust_core::statement::Statement::try_column
    &Statement, I -> Result<&, Error>
    Gets the column information at index or a …
    trait method
    sqlx_build_trust_core::statement::Statement::query_as_with
    &Statement, A -> QueryAs<Statement::Database, O, A>
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.