pub type SnapshotEncodingType = i32;