enum Status impl from https://github.com/tietang/forest/blob/master/forest-core/src/main/java/fengfei/forest/slice/Status.java