icydb-core 0.76.5

IcyDB — A type-safe, embedded ORM and schema system for the Internet Computer
Documentation
//! Module: db::direction
//! Responsibility: canonical traversal direction shared across db subsystems.
//! Does not own: order-by planning semantics or cursor policy.
//! Boundary: stable ascending/descending contract for planning and execution.

use serde::{Deserialize, Serialize};

///
/// Direction
///
/// Canonical traversal direction shared by query planning, executor runtime,
/// and index-range envelope handling.
///

#[derive(Clone, Copy, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub(crate) enum Direction {
    #[default]
    Asc,
    Desc,
}