Move Slice into types
This commit is contained in:
parent
d41b25c4ab
commit
de97f79d6f
@ -206,7 +206,7 @@ pub enum ConnectError {
|
||||
UnsupportedAuthentication,
|
||||
/// The Postgres server does not support SSL encryption.
|
||||
NoSslSupport,
|
||||
/// There was an error initializing the SSL session
|
||||
/// There was an error initializing the SSL session.
|
||||
SslError(Box<error::Error+Sync+Send>),
|
||||
/// There was an error communicating with the server.
|
||||
IoError(io::Error),
|
||||
|
@ -80,8 +80,6 @@ use error::{Error, ConnectError, SqlState, DbError};
|
||||
pub use types::{ToSql, FromSql};
|
||||
use io::{StreamWrapper, NegotiateSsl};
|
||||
use types::{IsNull, Kind, Type, SessionInfo, Oid, Other};
|
||||
#[doc(inline)]
|
||||
pub use types::Slice;
|
||||
use message::BackendMessage::*;
|
||||
use message::FrontendMessage::*;
|
||||
use message::{FrontendMessage, BackendMessage, RowDescriptionEntry};
|
||||
|
@ -1,5 +1,4 @@
|
||||
//! Traits dealing with Postgres data types
|
||||
pub use self::slice::Slice;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::error;
|
||||
@ -7,6 +6,7 @@ use std::fmt;
|
||||
use std::io::prelude::*;
|
||||
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
|
||||
|
||||
pub use self::slice::Slice;
|
||||
use {Result, SessionInfoNew, InnerConnection, OtherNew};
|
||||
use error::Error;
|
||||
use util;
|
||||
|
Loading…
Reference in New Issue
Block a user