Skip to main content

Module types

Module types 

Source
Expand description

Core type definitions for native backend

This module provides all the core structs, enums, and error types needed for the native graph database file format, organized into logical submodules.

Structs§

EdgeFlags
Edge flags bitfield for marking edge state
EdgeRecord
Edge record structure for API compatibility (V1-style fields for operations) This is converted to CompactEdgeRecord for V2 storage
FileHeader
File header structure for native graph database
NodeFlags
Node flags bitfield for marking node state

Enums§

CpuProfile
CPU Profile for performance optimizations
NativeBackendError
Comprehensive error type for native backend operations

Functions§

node_slot_offset
Calculate the file offset for a given node’s slot

Type Aliases§

FileOffset
File offset within the graph database file
NativeEdgeId
Native edge identifier (alias for i64 to match existing EdgeId)
NativeNodeId
Native node identifier (alias for i64 to match existing NodeId)
NativeResult
Result type alias for native backend operations
NodeRecord
V2-only node record type alias for backward compatibility
RecordSize
Size of variable-length records