1 2 3 4 5 6 7 8 9 10 11
import enum class StringFormat(enum.Enum): mac = 0 ipv4 = 1 ipv6 = 2 u8 = 3 u16 = 4 u32 = 5 u64 = 6