#24 fix TraceType enum values to be consecutive

#24
Can mark as `static`?