Enum tokio_util::codec::LinesCodecError
source · pub enum LinesCodecError {
MaxLineLengthExceeded,
Io(Error),
}
Expand description
An error occurred while encoding or decoding a line.
Variants§
Trait Implementations§
source§impl Debug for LinesCodecError
impl Debug for LinesCodecError
source§impl Display for LinesCodecError
impl Display for LinesCodecError
source§impl Error for LinesCodecError
impl Error for LinesCodecError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for LinesCodecError
impl From<Error> for LinesCodecError
source§fn from(e: Error) -> LinesCodecError
fn from(e: Error) -> LinesCodecError
Converts to this type from the input type.