Trying to get something working

This commit is contained in:
Carl Lerche
2017-08-10 13:15:40 -07:00
parent 6c962491c6
commit a1b03b7724
7 changed files with 127 additions and 39 deletions

View File

@@ -49,7 +49,6 @@ impl<T> FramedRead<T> {
}
let kind = head.kind();
debug!("decoded; kind={:?}", kind);
let frame = match kind {
Kind::Settings => {
@@ -106,7 +105,6 @@ impl<T> FramedRead<T> {
unimplemented!()
}
};
debug!("decoded; frame={:?}", frame);
Ok(Some(frame))
}
@@ -128,7 +126,6 @@ impl<T> futures::Stream for FramedRead<T>
trace!("poll; bytes={}B", bytes.len());
if let Some(frame) = try!(self.decode_frame(bytes)) {
debug!("poll; frame={:?}", frame);
return Ok(Async::Ready(Some(frame)));
}
}