view src/types.rs @ 11:e68172b81e2b

Change seek method to find equal or greater element
author Lewin Bormann <lbo@spheniscida.de>
date Fri, 10 Jun 2016 21:14:30 +0200
parents 32cf15e42de1
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),
}