Struct lapin_futures::transport::AMQPCodec
[−]
[src]
pub struct AMQPCodec;
implements tokio-io's Decoder and Encoder
Trait Implementations
impl Decoder for AMQPCodec
[src]
type Item = Frame
The type of decoded frames.
type Error = Error
The type of unrecoverable frame decoding errors. Read more
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Frame>, Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
fn decode_eof(&mut self,
buf: &mut BytesMut)
-> Result<Option<Self::Item>, Self::Error>
buf: &mut BytesMut)
-> Result<Option<Self::Item>, Self::Error>
A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more