Trait RuntimeNativePort
Source pub trait RuntimeNativePort {
Show 35 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 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;
}