mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-01-20 23:56:21 +00:00
18 lines
350 B
Rust
18 lines
350 B
Rust
mod socket;
|
|
mod tls;
|
|
|
|
pub use socket::Socket;
|
|
pub use tls::{CertificateInput, MaybeTlsStream};
|
|
|
|
#[cfg(feature = "_rt-async-std")]
|
|
type PollReadBuf<'a> = [u8];
|
|
|
|
#[cfg(feature = "_rt-tokio")]
|
|
type PollReadBuf<'a> = sqlx_rt::ReadBuf<'a>;
|
|
|
|
#[cfg(feature = "_rt-async-std")]
|
|
type PollReadOut = usize;
|
|
|
|
#[cfg(feature = "_rt-tokio")]
|
|
type PollReadOut = ();
|