tokio::codec docs + additional exports (#546)

This commit is contained in:
Carl Lerche 2018-08-15 21:25:25 -07:00 committed by GitHub
parent 767b370c21
commit 6b84c73f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,11 +100,11 @@ pub mod codec {
//! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`].
//! Framed streams are also known as [transports].
//!
//! [`AsyncRead`]: #
//! [`AsyncWrite`]: #
//! [`Sink`]: #
//! [`Stream`]: #
//! [transports]: #
//! [`AsyncRead`]: ../io/trait.AsyncRead.html
//! [`AsyncWrite`]: ../io/trait.AsyncWrite.html
//! [`Sink`]: https://docs.rs/futures/0.1/futures/sink/trait.Sink.html
//! [`Stream`]: https://docs.rs/futures/0.1/futures/stream/trait.Stream.html
//! [transports]: https://tokio.rs/docs/going-deeper/frames/
pub use tokio_codec::{
Decoder,
@ -113,6 +113,8 @@ pub mod codec {
FramedParts,
FramedRead,
FramedWrite,
BytesCodec,
LinesCodec,
};
}