mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
Encode/Decode -> Codec in docs
This commit is contained in:
+1
-1
@@ -258,7 +258,7 @@ pub trait Codec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A unified `Stream` and `Sink` interface to an underlying `Io` object, using
|
/// A unified `Stream` and `Sink` interface to an underlying `Io` object, using
|
||||||
/// the `Encode` and `Decode` traits to encode and decode frames.
|
/// the `Codec` trait to encode and decode frames.
|
||||||
///
|
///
|
||||||
/// You can acquire a `Framed` instance by using the `Io::framed` adapter.
|
/// You can acquire a `Framed` instance by using the `Io::framed` adapter.
|
||||||
pub struct Framed<T, C> {
|
pub struct Framed<T, C> {
|
||||||
|
|||||||
Reference in New Issue
Block a user