Enum tokio_util::codec::AnyDelimiterCodecError [−][src]
pub enum AnyDelimiterCodecError {
MaxChunkLengthExceeded,
Io(Error),
}
Expand description
An error occurred while encoding or decoding a chunk.
Variants
MaxChunkLengthExceeded
The maximum chunk length was exceeded.
Io(Error)
Tuple Fields
0: Error
An IO error occurred.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AnyDelimiterCodecError
impl Send for AnyDelimiterCodecError
impl Sync for AnyDelimiterCodecError
impl Unpin for AnyDelimiterCodecError
impl !UnwindSafe for AnyDelimiterCodecError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more