[][src]Crate zookeeper_derive

Derive Macros

EnumConvertFromInt

Emit an std::convert::From<i32> implementation for an enum type. When converting from an i32 that does not have an enumeration value, the system will panic, unless a fallback enumeration symbol is specified with #[EnumConvertFromIntFallback = "Identifier"].

EnumDisplay

Emit an std::fmt::Display implementation for an enum type.

EnumError

Emit an std::error::Error implementation for an enum type. This is most useful in conjunction with Debug and EnumDisplay.