Skip to main content

decode_msg_with_codec

Function decode_msg_with_codec 

Source
pub fn decode_msg_with_codec<T, C, D>(
    decoder: &mut D,
    codec: &mut C,
) -> Result<CuMsg<T>, DecodeError>
where T: CuMsgPayload, C: CuLogCodec<T>, D: Decoder<Context = ()>,