pub fn has_item(&self, key: &K, value: &V) -> MdbResult<bool> {
        let mut cursor = try!(self.new_cursor());
        match cursor.to_item(key, value) {
            Ok(()) => Ok(true),
            Err(::lmdb::MdbError::NotFound) => Ok(false),
            Err(e) => Err(e),
        }
    }
/// Returns true if item exists.
Returns true if item exists.
Returns true if item exists .
pub fn has_item(&self, key: &K, value: &V) -> MdbResult<bool> {
        let mut cursor = try!(self.new_cursor());
        match cursor.to_item(key, value) {
            Ok(()) => Ok(true),
            Err(::lmdb::MdbError::NotFound) => Ok(false),
            Err(e) => Err(e),
        }
    }
pub fn has_item ( & self , key : & K , value : & V ) -> MdbResult < bool > { let mut cursor = try ! ( self new_cursor ( ) ) ; match cursor . to_item ( key , value ) { Ok ( ( ) ) => Ok ( true ) , Err ( :: lmdb :: MdbError :: NotFound ) => Ok ( false ) , Err ( e ) => Err ( e ) , } }
Returns true if item exists.
Returns true if item exists .
&self
key
&K
value
&V
&self
key
&K
value
&V