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};
|
pub use error::{Error, ConnectError, SqlState, DbError, ErrorPosition};
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use types::{Oid, Type, Other, Kind, ToSql, FromSql, SessionInfo};
|
pub use types::{ToSql, FromSql};
|
||||||
use io::{StreamWrapper, NegotiateSsl};
|
use io::{StreamWrapper, NegotiateSsl};
|
||||||
use types::IsNull;
|
use types::{IsNull, Kind, Type, SessionInfo, Oid, Other};
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use types::Slice;
|
pub use types::Slice;
|
||||||
use message::BackendMessage::*;
|
use message::BackendMessage::*;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
use byteorder::{WriteBytesExt, BigEndian};
|
use byteorder::{WriteBytesExt, BigEndian};
|
||||||
|
|
||||||
use {Type, ToSql, Result, Error, Kind};
|
use {Result, Error};
|
||||||
use types::{IsNull, SessionInfo};
|
use types::{Type, ToSql, Kind, IsNull, SessionInfo};
|
||||||
|
|
||||||
/// An adapter type mapping slices to Postgres arrays.
|
/// An adapter type mapping slices to Postgres arrays.
|
||||||
///
|
///
|
||||||
|
@ -13,13 +13,12 @@ use postgres::{HandleNotice,
|
|||||||
Connection,
|
Connection,
|
||||||
GenericConnection,
|
GenericConnection,
|
||||||
SslMode,
|
SslMode,
|
||||||
Type,
|
|
||||||
Kind,
|
|
||||||
Error,
|
Error,
|
||||||
ConnectError,
|
ConnectError,
|
||||||
DbError,
|
DbError,
|
||||||
IntoConnectParams,
|
IntoConnectParams,
|
||||||
IsolationLevel};
|
IsolationLevel};
|
||||||
|
use postgres::types::{Type, Kind};
|
||||||
use postgres::SqlState::{SyntaxError,
|
use postgres::SqlState::{SyntaxError,
|
||||||
QueryCanceled,
|
QueryCanceled,
|
||||||
UndefinedTable,
|
UndefinedTable,
|
||||||
|
Loading…
Reference in New Issue
Block a user