ic_dbms_api/
memory.rs

1mod encode;
2mod error;
3
4pub use self::encode::{DataSize, Encode};
5pub use self::error::{DecodeError, MemoryError};
6
7/// Type identifying a memory page number.
8pub type Page = u32;
9/// Type identifying an offset within a memory page.
10pub type PageOffset = u16;
11/// Size type for memory operations.
12pub type MSize = u16;
13/// The result type for memory operations.
14pub type MemoryResult<T> = Result<T, MemoryError>;