Skip to main content

RuntimeNativePort

Trait RuntimeNativePort 

Source
pub trait RuntimeNativePort {
Show 38 methods // Required methods fn health_report(&self) -> HealthReport; fn collection_roots(&self) -> Result<BTreeMap<String, u64>, RedDBError>; fn snapshots(&self) -> Result<Vec<SnapshotDescriptor>, RedDBError>; fn exports(&self) -> Result<Vec<ExportDescriptor>, RedDBError>; fn physical_metadata(&self) -> Result<PhysicalMetadataFile, RedDBError>; fn manifest_events_filtered( &self, collection: Option<&str>, kind: Option<&str>, since_snapshot: Option<u64>, ) -> Result<Vec<ManifestEvent>, RedDBError>; fn create_snapshot(&self) -> Result<SnapshotDescriptor, RedDBError>; fn create_export( &self, name: String, ) -> Result<ExportDescriptor, RedDBError>; fn checkpoint(&self) -> Result<(), RedDBError>; fn apply_retention_policy(&self) -> Result<(), RedDBError>; fn run_maintenance(&self) -> Result<(), RedDBError>; fn native_header(&self) -> Result<PhysicalFileHeader, RedDBError>; fn native_collection_roots( &self, ) -> Result<BTreeMap<String, u64>, RedDBError>; fn native_manifest_summary( &self, ) -> Result<NativeManifestSummary, RedDBError>; fn native_registry_summary( &self, ) -> Result<NativeRegistrySummary, RedDBError>; fn native_recovery_summary( &self, ) -> Result<NativeRecoverySummary, RedDBError>; fn native_catalog_summary(&self) -> Result<NativeCatalogSummary, RedDBError>; fn native_physical_state(&self) -> Result<NativePhysicalState, RedDBError>; fn native_vector_artifact_pages( &self, ) -> Result<Vec<NativeVectorArtifactPageSummary>, RedDBError>; fn inspect_native_vector_artifact( &self, collection: &str, artifact_kind: Option<&str>, ) -> Result<NativeVectorArtifactInspection, RedDBError>; fn warmup_native_vector_artifact( &self, collection: &str, artifact_kind: Option<&str>, ) -> Result<NativeVectorArtifactInspection, RedDBError>; fn inspect_native_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>; fn warmup_native_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>; fn native_header_repair_policy(&self) -> Result<String, RedDBError>; fn repair_native_header_from_metadata(&self) -> Result<String, RedDBError>; fn rebuild_physical_metadata_from_native_state( &self, ) -> Result<bool, RedDBError>; fn repair_native_physical_state_from_metadata( &self, ) -> Result<bool, RedDBError>; fn native_metadata_state_summary( &self, ) -> Result<NativeMetadataStateSummary, RedDBError>; fn physical_authority_status(&self) -> PhysicalAuthorityStatus; fn validate_current_serverless_generation(&self) -> Result<(), RedDBError>; fn readiness_for_query(&self) -> bool; fn readiness_for_query_serverless(&self) -> bool; fn readiness_for_write(&self) -> bool; fn readiness_for_write_serverless(&self) -> bool; fn readiness_for_repair(&self) -> bool; fn readiness_for_repair_serverless(&self) -> bool; // Provided methods fn health_report_from_catalog( &self, _catalog: &CatalogModelSnapshot, ) -> HealthReport { ... } fn readiness_from_health(&self, _report: &HealthReport) -> RuntimeReadiness { ... }
}

Required Methods§

Source

fn health_report(&self) -> HealthReport

Source

fn collection_roots(&self) -> Result<BTreeMap<String, u64>, RedDBError>

Source

fn snapshots(&self) -> Result<Vec<SnapshotDescriptor>, RedDBError>

Source

fn exports(&self) -> Result<Vec<ExportDescriptor>, RedDBError>

Source

fn physical_metadata(&self) -> Result<PhysicalMetadataFile, RedDBError>

Source

fn manifest_events_filtered( &self, collection: Option<&str>, kind: Option<&str>, since_snapshot: Option<u64>, ) -> Result<Vec<ManifestEvent>, RedDBError>

Source

fn create_snapshot(&self) -> Result<SnapshotDescriptor, RedDBError>

Source

fn create_export(&self, name: String) -> Result<ExportDescriptor, RedDBError>

Source

fn checkpoint(&self) -> Result<(), RedDBError>

Source

fn apply_retention_policy(&self) -> Result<(), RedDBError>

Source

fn run_maintenance(&self) -> Result<(), RedDBError>

Source

fn native_header(&self) -> Result<PhysicalFileHeader, RedDBError>

Source

fn native_collection_roots(&self) -> Result<BTreeMap<String, u64>, RedDBError>

Source

fn native_manifest_summary(&self) -> Result<NativeManifestSummary, RedDBError>

Source

fn native_registry_summary(&self) -> Result<NativeRegistrySummary, RedDBError>

Source

fn native_recovery_summary(&self) -> Result<NativeRecoverySummary, RedDBError>

Source

fn native_catalog_summary(&self) -> Result<NativeCatalogSummary, RedDBError>

Source

fn native_physical_state(&self) -> Result<NativePhysicalState, RedDBError>

Source

fn native_vector_artifact_pages( &self, ) -> Result<Vec<NativeVectorArtifactPageSummary>, RedDBError>

Source

fn inspect_native_vector_artifact( &self, collection: &str, artifact_kind: Option<&str>, ) -> Result<NativeVectorArtifactInspection, RedDBError>

Source

fn warmup_native_vector_artifact( &self, collection: &str, artifact_kind: Option<&str>, ) -> Result<NativeVectorArtifactInspection, RedDBError>

Source

fn inspect_native_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>

Source

fn warmup_native_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>

Source

fn native_header_repair_policy(&self) -> Result<String, RedDBError>

Source

fn repair_native_header_from_metadata(&self) -> Result<String, RedDBError>

Source

fn rebuild_physical_metadata_from_native_state( &self, ) -> Result<bool, RedDBError>

Source

fn repair_native_physical_state_from_metadata(&self) -> Result<bool, RedDBError>

Source

fn native_metadata_state_summary( &self, ) -> Result<NativeMetadataStateSummary, RedDBError>

Source

fn physical_authority_status(&self) -> PhysicalAuthorityStatus

Source

fn validate_current_serverless_generation(&self) -> Result<(), RedDBError>

Source

fn readiness_for_query(&self) -> bool

Source

fn readiness_for_query_serverless(&self) -> bool

Source

fn readiness_for_write(&self) -> bool

Source

fn readiness_for_write_serverless(&self) -> bool

Source

fn readiness_for_repair(&self) -> bool

Source

fn readiness_for_repair_serverless(&self) -> bool

Provided Methods§

Source

fn health_report_from_catalog( &self, _catalog: &CatalogModelSnapshot, ) -> HealthReport

Source

fn readiness_from_health(&self, _report: &HealthReport) -> RuntimeReadiness

Derive all readiness flags from one caller-owned health observation. The default preserves compatibility with ports implementing scalar checks.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§