Un-reexport some type-related types
This commit is contained in:
parent
3e25dc4062
commit
417fb09b13
@ -77,9 +77,9 @@ use std::path::PathBuf;
|
||||
|
||||
pub use error::{Error, ConnectError, SqlState, DbError, ErrorPosition};
|
||||
#[doc(inline)]
|
||||
pub use types::{Oid, Type, Other, Kind, ToSql, FromSql, SessionInfo};
|
||||
pub use types::{ToSql, FromSql};
|
||||
use io::{StreamWrapper, NegotiateSsl};
|
||||
use types::IsNull;
|
||||
use types::{IsNull, Kind, Type, SessionInfo, Oid, Other};
|
||||
#[doc(inline)]
|
||||
pub use types::Slice;
|
||||
use message::BackendMessage::*;
|
||||
|
@ -1,8 +1,8 @@
|
||||
use std::io::prelude::*;
|
||||
use byteorder::{WriteBytesExt, BigEndian};
|
||||
|
||||
use {Type, ToSql, Result, Error, Kind};
|
||||
use types::{IsNull, SessionInfo};
|
||||
use {Result, Error};
|
||||
use types::{Type, ToSql, Kind, IsNull, SessionInfo};
|
||||
|
||||
/// An adapter type mapping slices to Postgres arrays.
|
||||
///
|
||||
|
@ -13,13 +13,12 @@ use postgres::{HandleNotice,
|
||||
Connection,
|
||||
GenericConnection,
|
||||
SslMode,
|
||||
Type,
|
||||
Kind,
|
||||
Error,
|
||||
ConnectError,
|
||||
DbError,
|
||||
IntoConnectParams,
|
||||
IsolationLevel};
|
||||
use postgres::types::{Type, Kind};
|
||||
use postgres::SqlState::{SyntaxError,
|
||||
QueryCanceled,
|
||||
UndefinedTable,
|
||||
|
Loading…
Reference in New Issue
Block a user