Struct lapin_futures_tls_internal::lapin::transport::AMQPCodec
source · pub struct AMQPCodec {
pub frame_max: u32,
}Expand description
implements tokio-io’s Decoder and Encoder
Fields§
§frame_max: u32Trait Implementations§
source§impl Decoder for AMQPCodec
impl Decoder for AMQPCodec
§type Error = CodecError
type Error = CodecError
The type of unrecoverable frame decoding errors. Read more
source§fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<AMQPFrame>, CodecError>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<AMQPFrame>, CodecError>
Attempts to decode a frame from the provided buffer of bytes. Read more