Expand description
Core types for the RuVector Format (RVF).
This crate provides the foundational types shared across all RVF crates: segment headers, type enums, flags, error codes, and format constants.
All types are no_std compatible by default.
Re-exports§
pub use attestation::AttestationHeader;pub use attestation::AttestationWitnessType;pub use attestation::TeePlatform;pub use attestation::KEY_TYPE_TEE_BOUND;pub use ebpf::EbpfAttachType;pub use ebpf::EbpfHeader;pub use ebpf::EbpfProgramType;pub use ebpf::EBPF_MAGIC;pub use kernel::ApiTransport;pub use kernel::KernelArch;pub use kernel::KernelHeader;pub use kernel::KernelType;pub use kernel::KERNEL_MAGIC;pub use kernel::KERNEL_FLAG_SIGNED;pub use kernel::KERNEL_FLAG_COMPRESSED;pub use kernel::KERNEL_FLAG_REQUIRES_TEE;pub use kernel::KERNEL_FLAG_MEASURED;pub use kernel::KERNEL_FLAG_REQUIRES_KVM;pub use kernel::KERNEL_FLAG_REQUIRES_UEFI;pub use kernel::KERNEL_FLAG_HAS_NETWORKING;pub use kernel::KERNEL_FLAG_HAS_QUERY_API;pub use kernel::KERNEL_FLAG_HAS_INGEST_API;pub use kernel::KERNEL_FLAG_HAS_ADMIN_API;pub use kernel::KERNEL_FLAG_ATTESTATION_READY;pub use kernel::KERNEL_FLAG_RELOCATABLE;pub use kernel::KERNEL_FLAG_HAS_VIRTIO_NET;pub use kernel::KERNEL_FLAG_HAS_VIRTIO_BLK;pub use kernel::KERNEL_FLAG_HAS_VSOCK;pub use lineage::DerivationType;pub use lineage::FileIdentity;pub use lineage::LineageRecord;pub use lineage::LINEAGE_RECORD_SIZE;pub use lineage::WITNESS_DERIVATION;pub use lineage::WITNESS_LINEAGE_MERGE;pub use lineage::WITNESS_LINEAGE_SNAPSHOT;pub use lineage::WITNESS_LINEAGE_TRANSFORM;pub use lineage::WITNESS_LINEAGE_VERIFY;pub use cow_map::CowMapEntry;pub use cow_map::CowMapHeader;pub use cow_map::MapFormat;pub use cow_map::COWMAP_MAGIC;pub use delta::DeltaEncoding;pub use delta::DeltaHeader;pub use delta::DELTA_MAGIC;pub use kernel_binding::KernelBinding;pub use membership::FilterMode;pub use membership::FilterType;pub use membership::MembershipHeader;pub use membership::MEMBERSHIP_MAGIC;pub use refcount::RefcountHeader;pub use refcount::REFCOUNT_MAGIC;pub use checksum::ChecksumAlgo;pub use compression::CompressionAlgo;pub use data_type::DataType;pub use error::ErrorCode;pub use error::RvfError;pub use filter::FilterOp;pub use flags::SegmentFlags;pub use manifest::CentroidPtr;pub use manifest::EntrypointPtr;pub use manifest::HotCachePtr;pub use manifest::Level0Root;pub use manifest::PrefetchMapPtr;pub use manifest::QuantDictPtr;pub use manifest::TopLayerPtr;pub use profile::DomainProfile;pub use profile::ProfileId;pub use quant_type::QuantType;pub use segment::SegmentHeader;pub use segment_type::SegmentType;pub use signature::SignatureAlgo;pub use constants::*;
Modules§
- attestation
- Attestation types for Confidential Computing integration.
- checksum
- Checksum / hash algorithm identifiers.
- compression
- Compression algorithm identifiers.
- constants
- Magic numbers, alignment requirements, and size limits for the RVF format.
- cow_map
- COW_MAP_SEG (0x20) types for the RVF computational container.
- data_
type - Vector data type discriminator.
- delta
- DELTA_SEG (0x23) types for the RVF computational container.
- ebpf
- EBPF_SEG (0x0F) types for the RVF computational container.
- error
- Error codes and error types for the RVF format.
- filter
- Filter operator types for metadata-filtered queries and deletes.
- flags
- Segment flags bitfield for the RVF format.
- kernel
- KERNEL_SEG (0x0E) types for the RVF computational container.
- kernel_
binding - Kernel binding types for the RVF computational container.
- lineage
- DNA-style lineage provenance types for RVF files.
- manifest
- Level 0 root manifest and hotset pointer types.
- membership
- MEMBERSHIP_SEG (0x22) types for the RVF computational container.
- profile
- Hardware and domain profile identifiers.
- quant_
type - Quantization type discriminator for QUANT_SEG payloads.
- refcount
- REFCOUNT_SEG (0x21) types for the RVF computational container.
- segment
- 64-byte segment header for the RVF format.
- segment_
type - Segment type discriminator for the RVF format.
- signature
- Signature algorithm identifiers and the signature footer struct.