Move Slice into types

This commit is contained in:
Steven Fackler 2015-05-26 21:42:34 -07:00
parent d41b25c4ab
commit de97f79d6f
3 changed files with 2 additions and 4 deletions

View File

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

View File

@ -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};

View File

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