1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Interfaces for storage engines
//!
//! Most of this is for plugin use

#![allow(unused)]

mod error;
mod handler;
mod handlerton;

pub use error::{StorageError, StorageResult};
pub use handler::{Handler, Mode, OpenOp};
pub use handlerton::{Handlerton, HandlertonCtx};

use crate::bindings;

pub const MAX_RECORD_LENGTH: usize = bindings::HA_MAX_REC_LENGTH as usize;