Struct dubbo::triple::codec::serde_codec::SerdeCodec
source · pub struct SerdeCodec<T, U> { /* private fields */ }
Trait Implementations§
source§impl<'a, T, U> Codec for SerdeCodec<T, U>where
T: Serialize + Send + 'static,
U: Deserialize<'a> + Send + 'static,
impl<'a, T, U> Codec for SerdeCodec<T, U>where T: Serialize + Send + 'static, U: Deserialize<'a> + Send + 'static,
§type Encoder = SerdeEncoder<T>
type Encoder = SerdeEncoder<T>
The encoder that can encode a message.
§type Decoder = SerdeDecoder<U>
type Decoder = SerdeDecoder<U>
The encoder that can decode a message.