mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
Merge master into tokio-tracking.
This commit is contained in:
@@ -14,7 +14,7 @@ use tokio_proto::streaming::multiplex::RequestId;
|
||||
use tokio_proto::multiplex::{ClientProto, ServerProto};
|
||||
use util::Debugger;
|
||||
|
||||
// `T` is the type that `Codec` parses.
|
||||
// `Encode` is the type that `Codec` encodes. `Decode` is the type it decodes.
|
||||
pub struct Codec<Encode, Decode> {
|
||||
state: CodecState,
|
||||
_phantom_data: PhantomData<(Encode, Decode)>,
|
||||
|
||||
Reference in New Issue
Block a user