Trait codecs::decoding::framing::FramingError
source · pub trait FramingError:
Error
+ StreamDecodingError
+ Send
+ Sync
+ Any {
// Required method
fn as_any(&self) -> &dyn Any;
}
Expand description
An error that occurred while producing byte frames from a byte stream / byte message.
It requires conformance to TcpError
so that we can determine whether the
error is recoverable or if trying to continue will lead to hanging up the
TCP source indefinitely.