Move privacy trait down to others

This commit is contained in:
Steven Fackler 2015-06-01 22:39:04 -07:00
parent 60eaaad08f
commit 834d7c139b

View File

@ -432,10 +432,6 @@ struct CachedStatement {
columns: Vec<Column>,
}
trait SessionInfoNew<'a> {
fn new(conn: &'a InnerConnection) -> SessionInfo<'a>;
}
struct InnerConnection {
stream: BufStream<Box<StreamWrapper>>,
notice_handler: Box<HandleNotice>,
@ -1785,3 +1781,7 @@ trait LazyRowsNew<'trans, 'stmt> {
finished: bool,
trans: &'trans Transaction<'trans>) -> LazyRows<'trans, 'stmt>;
}
trait SessionInfoNew<'a> {
fn new(conn: &'a InnerConnection) -> SessionInfo<'a>;
}