Enum tokio_util::codec::LinesCodecError [−][src]
pub enum LinesCodecError {
MaxLineLengthExceeded,
Io(Error),
}
Expand description
An error occurred while encoding or decoding a line.
Variants
MaxLineLengthExceeded
The maximum line length was exceeded.
Io(Error)
Tuple Fields
0: Error
An IO error occurred.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for LinesCodecError
impl Send for LinesCodecError
impl Sync for LinesCodecError
impl Unpin for LinesCodecError
impl !UnwindSafe for LinesCodecError
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