Enum byte_unit::ByteError[][src]

pub enum ByteError {
    ValueIncorrect,
    UnitIncorrect,
    ParseError,
}

Different error types for Byte.

Variants

The value used for creating a Byte object is incorrect. (from_unit, from_string)

The unit used for creating a Byte object is incorrect. (from_string)

The string used for creating a Byte object is incorrect. (from_string)

Trait Implementations

impl Debug for ByteError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ByteError

impl Sync for ByteError