Misc streams cleanup

This commit is contained in:
Carl Lerche
2017-08-02 13:09:14 -07:00
parent 22ebf186c6
commit 9d7221e6cf
6 changed files with 141 additions and 146 deletions

View File

@@ -1,10 +1,13 @@
mod flow_control;
mod recv;
mod send;
mod state;
mod store;
use self::flow_control::FlowControl;
use self::recv::Recv;
use self::send::Send;
use self::state::State;
use self::store::{Store, Entry};
use {frame, Peer, StreamId, ConnectionError};
@@ -12,7 +15,7 @@ use proto::*;
use error::Reason::*;
use error::User::*;
// TODO: All the VecDeques should become linked lists using the state::Stream
// TODO: All the VecDeques should become linked lists using the State
// values.
#[derive(Debug)]
pub struct Streams<P> {