Skip to main content

decode_cell

Function decode_cell 

Source
pub(super) fn decode_cell(
    chan_type: ChannelType,
    stage: &MessageStage,
    codec: &mut ChannelCodec,
    src: &mut BytesMut,
) -> Result<Option<AnyChanCell>, Error>
Expand description

Decode cell using the given channel type, message stage, codec and byte source.