Un-reexport some type-related types

This commit is contained in:
Steven Fackler 2015-05-25 22:09:00 -07:00
parent 3e25dc4062
commit 417fb09b13
3 changed files with 5 additions and 6 deletions

View File

@ -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::*;

View File

@ -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.
///

View File

@ -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,