Re-exports§
pub use rand;
pub use serde_json;
pub use tokio;
Modules§
Macros§
- container
- create
- Example
- create_
index - custome_
execute - Usage
- custome_
query - Usage
- delete
- Example
- delete_
many - Usage
- delete_
table - find_
many - Returns
- find_
one - Usage
- formats
- model
- show_
index_ list - table_
structure - transaction
- update
- Example
Structs§
- Alphanumeric
- Sample a
u8
, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. - Async
Error - An error communicating with the Postgres server.
- Async
NoTls - A
MakeTlsConnect
andTlsConnect
implementation which simply returns an error. - Async
Socket - The standard stream type used by the crate.
- Client
- An asynchronous PostgreSQL client.
- DirBuilder
- A builder for creating directories in various manners.
- Error
- An error communicating with the Postgres server.
- File
- A reference to an open file on the filesystem.
- Naive
Date - ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
- Naive
Date Time - ISO 8601 combined date and time without timezone.
- Naive
Time - ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.
- NoTls
- A
MakeTlsConnect
andTlsConnect
implementation which simply returns an error. - Socket
- The standard stream type used by the crate.
- Tokio
Client - Uuid
- A Universally Unique Identifier (UUID).
Traits§
- Async
Make TlsConnect - A constructor of
TlsConnect
ors. - Async
TlsConnect - An asynchronous function wrapping a stream in a TLS session.
- Async
ToSql - A trait for types that can be converted into Postgres values.
- Async
Write Ext - Writes bytes to a sink.
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Generic
Client - A trait allowing abstraction over connections and transactions.
- Make
TlsConnect - A constructor of
TlsConnect
ors. - Rng
- An automatically-implemented extension trait on
RngCore
providing high-level generic methods for sampling values and other convenience methods. - Serialize
- A data structure that can be serialized into any data format supported by Serde.
- TlsConnect
- An asynchronous function wrapping a stream in a TLS session.
- ToSql
- A trait for types that can be converted into Postgres values.