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
IoError(Error)
ValueU8TooLarge
Fields of ValueU8TooLarge
value: u8 | |
max: u8 | |
field: ErrorField |
ValueU16TooLarge
Fields of ValueU16TooLarge
value: u16 | |
max: u16 | |
field: ErrorField |
ValueU32TooLarge
Fields of ValueU32TooLarge
value: u32 | |
max: u32 | |
field: ErrorField |
Trait Implementations
impl Debug for WriteError
[src]
impl From<Error> for WriteError
[src]
fn from(err: Error) -> WriteError
[src]
Performs the conversion.