Enum byte_unit::ByteError [−][src]
pub enum ByteError {
ValueIncorrect,
UnitIncorrect,
ParseError,
}Different error types for Byte.
Variants
ValueIncorrectThe value used for creating a Byte object is incorrect. (from_unit, from_string)
UnitIncorrectThe unit used for creating a Byte object is incorrect. (from_string)
ParseErrorThe string used for creating a Byte object is incorrect. (from_string)