pub struct NativeUseCases<'a, P>where
P: ?Sized,{ /* private fields */ }Implementations§
Source§impl<'a, P> NativeUseCases<'a, P>where
P: RuntimeNativePort + ?Sized,
impl<'a, P> NativeUseCases<'a, P>where
P: RuntimeNativePort + ?Sized,
pub fn new(runtime: &'a P) -> NativeUseCases<'a, P>
pub fn collection_roots(&self) -> Result<BTreeMap<String, u64>, RedDBError>
pub fn health(&self) -> HealthReport
pub fn snapshots(&self) -> Result<Vec<SnapshotDescriptor>, RedDBError>
pub fn exports(&self) -> Result<Vec<ExportDescriptor>, RedDBError>
pub fn physical_metadata(&self) -> Result<PhysicalMetadataFile, RedDBError>
pub fn manifest_events_filtered( &self, collection: Option<&str>, kind: Option<&str>, since_snapshot: Option<u64>, ) -> Result<Vec<ManifestEvent>, RedDBError>
pub fn create_snapshot(&self) -> Result<SnapshotDescriptor, RedDBError>
pub fn create_export( &self, name: String, ) -> Result<ExportDescriptor, RedDBError>
pub fn checkpoint(&self) -> Result<(), RedDBError>
pub fn apply_retention_policy(&self) -> Result<(), RedDBError>
pub fn run_maintenance(&self) -> Result<(), RedDBError>
pub fn native_header(&self) -> Result<PhysicalFileHeader, RedDBError>
pub fn native_collection_roots( &self, ) -> Result<BTreeMap<String, u64>, RedDBError>
pub fn native_manifest_summary( &self, ) -> Result<NativeManifestSummary, RedDBError>
pub fn native_registry_summary( &self, ) -> Result<NativeRegistrySummary, RedDBError>
pub fn native_recovery_summary( &self, ) -> Result<NativeRecoverySummary, RedDBError>
pub fn native_catalog_summary(&self) -> Result<NativeCatalogSummary, RedDBError>
pub fn native_physical_state(&self) -> Result<NativePhysicalState, RedDBError>
pub fn native_vector_artifact_pages( &self, ) -> Result<Vec<NativeVectorArtifactPageSummary>, RedDBError>
pub fn inspect_vector_artifact( &self, input: InspectNativeArtifactInput, ) -> Result<NativeVectorArtifactInspection, RedDBError>
pub fn warmup_vector_artifact( &self, input: InspectNativeArtifactInput, ) -> Result<NativeVectorArtifactInspection, RedDBError>
pub fn inspect_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>
pub fn warmup_vector_artifacts( &self, ) -> Result<NativeVectorArtifactBatchInspection, RedDBError>
pub fn native_header_repair_policy(&self) -> Result<String, RedDBError>
pub fn repair_native_header_from_metadata(&self) -> Result<String, RedDBError>
pub fn rebuild_physical_metadata_from_native_state( &self, ) -> Result<bool, RedDBError>
pub fn repair_native_physical_state_from_metadata( &self, ) -> Result<bool, RedDBError>
pub fn native_metadata_state_summary( &self, ) -> Result<NativeMetadataStateSummary, RedDBError>
pub fn readiness(&self) -> RuntimeReadiness
Auto Trait Implementations§
impl<'a, P> Freeze for NativeUseCases<'a, P>where
P: ?Sized,
impl<'a, P> RefUnwindSafe for NativeUseCases<'a, P>where
P: RefUnwindSafe + ?Sized,
impl<'a, P> Send for NativeUseCases<'a, P>
impl<'a, P> Sync for NativeUseCases<'a, P>
impl<'a, P> Unpin for NativeUseCases<'a, P>where
P: ?Sized,
impl<'a, P> UnsafeUnpin for NativeUseCases<'a, P>where
P: ?Sized,
impl<'a, P> UnwindSafe for NativeUseCases<'a, P>where
P: RefUnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request