Enum LinesCodecError

enum LinesCodecError

An error occurred while encoding or decoding a line.

Variants

MaxLineLengthExceeded

The maximum line length was exceeded.

Io(io::Error)

An IO error occurred.

Implementations

impl Debug for LinesCodecError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for LinesCodecError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Error for LinesCodecError

impl Freeze for LinesCodecError

impl From for LinesCodecError

fn from(e: Error) -> LinesCodecError

impl RefUnwindSafe for LinesCodecError

impl Send for LinesCodecError

impl Sync for LinesCodecError

impl Unpin for LinesCodecError

impl UnsafeUnpin for LinesCodecError

impl UnwindSafe for LinesCodecError

impl<T> Any for LinesCodecError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for LinesCodecError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for LinesCodecError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for LinesCodecError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for LinesCodecError

fn to_string(self: &Self) -> String

impl<T, U> Into for LinesCodecError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for LinesCodecError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for LinesCodecError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>