Enum etherparse::WriteError [] [src]

pub enum WriteError {
    IoError(Error),
    ValueU8TooLarge {
        value: u8,
        max: u8,
        field: ErrorField,
    },
    ValueU16TooLarge {
        value: u16,
        max: u16,
        field: ErrorField,
    },
    ValueU32TooLarge {
        value: u32,
        max: u32,
        field: ErrorField,
    },
}

Errors that can occur when writing.

Variants

Fields of ValueU8TooLarge

Fields of ValueU16TooLarge

Fields of ValueU32TooLarge

Trait Implementations

impl Debug for WriteError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for WriteError
[src]

[src]

Performs the conversion.