Skip to main content

Crate dodb_core

Crate dodb_core 

Source
Expand description

Stable semantic contracts shared by the database layers.

This crate intentionally contains no storage engine, WAL, networking, or transaction execution machinery. It defines the values those layers must agree on.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use identifiers::Lsn;
pub use identifiers::PageId;
pub use identifiers::Revision;
pub use identifiers::ShardEpoch;
pub use identifiers::ShardId;
pub use identifiers::TenantId;
pub use identifiers::TxnId;
pub use key::DocumentKey;
pub use key::KeyCodecError;
pub use key::PrimaryKey;
pub use key::SortKey;
pub use revision::ObservedState;
pub use revision::RevisionState;
pub use transaction::ConditionExpectation;
pub use transaction::ReadSet;
pub use transaction::TransactionCondition;
pub use transaction::TransactionConflict;
pub use transaction::TransactionMutation;
pub use transaction::TransactionRequest;
pub use transaction::TransactionResult;
pub use transaction::WriteIntent;
pub use transaction::WriteSet;

Modules§

error
identifiers
key
revision
transaction