Enum AnyDelimiterCodecError

pub enum AnyDelimiterCodecError

An error occurred while encoding or decoding a chunk.

Variants

MaxChunkLengthExceeded

The maximum chunk length was exceeded.

Io(Error)

An IO error occurred.

Trait Implementations

impl Debug for AnyDelimiterCodecError

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

impl Display for AnyDelimiterCodecError

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

impl Error for AnyDelimiterCodecError

impl From<Error> for AnyDelimiterCodecError

fn from(e: Error) -> AnyDelimiterCodecError

Auto Trait Implementations

impl !RefUnwindSafe for AnyDelimiterCodecError

impl !UnwindSafe for AnyDelimiterCodecError

impl Freeze for AnyDelimiterCodecError

impl Send for AnyDelimiterCodecError

impl Sync for AnyDelimiterCodecError

impl Unpin for AnyDelimiterCodecError

impl UnsafeUnpin for AnyDelimiterCodecError

Blanket Implementations

impl<T> Any for AnyDelimiterCodecError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for AnyDelimiterCodecError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for AnyDelimiterCodecError where T: ?Sized,

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

impl<T> From<T> for AnyDelimiterCodecError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for AnyDelimiterCodecError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for AnyDelimiterCodecError where U: From<T>,

fn into(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<U> for AnyDelimiterCodecError where U: Into<T>,

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

impl<T, U> TryInto<U> for AnyDelimiterCodecError where U: TryFrom<T>,

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