1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-04 10:31:55 +01:00
actix-net/src/codec/mod.rs

24 lines
649 B
Rust
Raw Normal View History

2018-10-05 22:07:09 +02:00
//! Utilities for encoding and decoding frames.
//!
//! Contains adapters to go from streams of bytes, [`AsyncRead`] and
//! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`].
//! Framed streams are also known as [transports].
//!
//! [`AsyncRead`]: #
//! [`AsyncWrite`]: #
//! [`Sink`]: #
//! [`Stream`]: #
//! [transports]: #
#![deny(missing_docs, missing_debug_implementations, warnings)]
mod framed;
2018-10-09 00:38:52 +02:00
mod framed2;
2018-10-05 22:07:09 +02:00
mod framed_read;
mod framed_write;
pub use self::framed::{Framed, FramedParts};
2018-10-09 00:38:52 +02:00
pub use self::framed2::{Framed2, FramedParts2};
2018-10-05 22:07:09 +02:00
pub use self::framed_read::FramedRead;
pub use self::framed_write::FramedWrite;