[][src]Enum aahc::error::BadChunkHeader

pub enum BadChunkHeader {
    SizeNotHex,
    SizeNotU64,
    ExtChar,
    Newline,
}

The ways in which a chunk header can be invalid.

Variants

SizeNotHex

A byte in the chunk size is not a hex digit.

SizeNotU64

The size does not fit in a u64.

ExtChar

A character in the chunk header extensions section was not permitted to appear there.

Newline

A newline character (CR or LF) was not present where required, either after the chunk header, after a chunk’s data, or after the blank line following the end marker.

Trait Implementations

impl Debug for BadChunkHeader[src]

impl Display for BadChunkHeader[src]

impl Error for BadChunkHeader[src]

impl From<BadChunkHeader> for InvalidData[src]

impl From<BadChunkHeader> for Error[src]

impl PartialEq<BadChunkHeader> for BadChunkHeader[src]

impl StructuralPartialEq for BadChunkHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.