mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Tighten encapsulation a bit after recent backend generalization
This commit is contained in:
parent
c60859b416
commit
bb17e3b284
@ -17,7 +17,7 @@ mod prepare;
|
||||
mod select;
|
||||
|
||||
pub struct Connection {
|
||||
pub(super) stream: TcpStream,
|
||||
stream: TcpStream,
|
||||
|
||||
// Do we think that there is data in the read buffer to be decoded
|
||||
stream_readable: bool,
|
||||
|
@ -4,7 +4,7 @@ mod connection;
|
||||
|
||||
pub use connection::Connection;
|
||||
|
||||
pub(crate) mod protocol;
|
||||
mod protocol;
|
||||
|
||||
pub mod types;
|
||||
|
||||
|
@ -1,9 +1,4 @@
|
||||
use crate::{
|
||||
backend::Backend,
|
||||
deserialize::FromSql,
|
||||
postgres::{protocol::DataRow, Postgres},
|
||||
types::SqlType,
|
||||
};
|
||||
use crate::{backend::Backend, deserialize::FromSql, postgres::Postgres, types::SqlType};
|
||||
|
||||
pub trait RawRow {
|
||||
fn is_empty(&self) -> bool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user