Mercurial > lbo > hg > leveldb-rs
view src/types.rs @ 10:32cf15e42de1
Implement Status type
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Fri, 10 Jun 2016 19:11:17 +0200 |
parents | 82da245a74cd |
children | 9c19b1c12b78 |
line wrap: on
line source
pub enum ValueType { TypeDeletion = 0, TypeValue = 1, } pub type SequenceNumber = u64; pub enum Status { OK, NotFound(String), Corruption(String), NotSupported(String), InvalidArgument(String), IOError(String), }