Track http crate changes

This commit is contained in:
Carl Lerche
2017-08-03 10:00:50 -07:00
parent 9f9bf85168
commit e810b30999
6 changed files with 49 additions and 47 deletions

View File

@@ -13,7 +13,7 @@ use self::ping_pong::PingPong;
use self::settings::Settings;
use self::streams::Streams;
use StreamId;
use {StreamId, ConnectionError};
use error::Reason;
use frame::{self, Frame};
@@ -39,7 +39,7 @@ pub trait Peer {
end_of_stream: bool) -> frame::Headers;
#[doc(hidden)]
fn convert_poll_message(headers: frame::Headers) -> Self::Poll;
fn convert_poll_message(headers: frame::Headers) -> Result<Self::Poll, ConnectionError>;
}
pub type PingPayload = [u8; 8];