noxu-db 3.1.0

Noxu DB - An embedded transactional database engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Operation status for database operations.
//!
//! Shared between database and cursor modules.

/// Operation status returned by database and cursor operations.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum OperationStatus {
    /// Operation succeeded.
    Success,
    /// Record not found.
    NotFound,
    /// Key already exists (for NoOverwrite operations).
    KeyExists,
}