Trait RuntimeNativePort
Source pub trait RuntimeNativePort {
Show 35 methods
// Required methods
fn health_report(&self) -> HealthReport;
fn collection_roots(&self) -> RedDBResult<BTreeMap<String, u64>>;
fn snapshots(&self) -> RedDBResult<Vec<SnapshotDescriptor>>;
fn exports(&self) -> RedDBResult<Vec<ExportDescriptor>>;
fn physical_metadata(&self) -> RedDBResult<PhysicalMetadataFile>;
fn manifest_events_filtered(
&self,
collection: Option<&str>,
kind: Option<&str>,
since_snapshot: Option<u64>,
) -> RedDBResult<Vec<ManifestEvent>>;
fn create_snapshot(&self) -> RedDBResult<SnapshotDescriptor>;
fn create_export(&self, name: String) -> RedDBResult<ExportDescriptor>;
fn checkpoint(&self) -> RedDBResult<()>;
fn apply_retention_policy(&self) -> RedDBResult<()>;
fn run_maintenance(&self) -> RedDBResult<()>;
fn native_header(&self) -> RedDBResult<PhysicalFileHeader>;
fn native_collection_roots(&self) -> RedDBResult<BTreeMap<String, u64>>;
fn native_manifest_summary(&self) -> RedDBResult<NativeManifestSummary>;
fn native_registry_summary(&self) -> RedDBResult<NativeRegistrySummary>;
fn native_recovery_summary(&self) -> RedDBResult<NativeRecoverySummary>;
fn native_catalog_summary(&self) -> RedDBResult<NativeCatalogSummary>;
fn native_physical_state(&self) -> RedDBResult<NativePhysicalState>;
fn native_vector_artifact_pages(
&self,
) -> RedDBResult<Vec<NativeVectorArtifactPageSummary>>;
fn inspect_native_vector_artifact(
&self,
collection: &str,
artifact_kind: Option<&str>,
) -> RedDBResult<NativeVectorArtifactInspection>;
fn warmup_native_vector_artifact(
&self,
collection: &str,
artifact_kind: Option<&str>,
) -> RedDBResult<NativeVectorArtifactInspection>;
fn inspect_native_vector_artifacts(
&self,
) -> RedDBResult<NativeVectorArtifactBatchInspection>;
fn warmup_native_vector_artifacts(
&self,
) -> RedDBResult<NativeVectorArtifactBatchInspection>;
fn native_header_repair_policy(&self) -> RedDBResult<String>;
fn repair_native_header_from_metadata(&self) -> RedDBResult<String>;
fn rebuild_physical_metadata_from_native_state(&self) -> RedDBResult<bool>;
fn repair_native_physical_state_from_metadata(&self) -> RedDBResult<bool>;
fn native_metadata_state_summary(
&self,
) -> RedDBResult<NativeMetadataStateSummary>;
fn physical_authority_status(&self) -> PhysicalAuthorityStatus;
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;
}