pub struct NativeUseCases<'a, P: ?Sized> { /* private fields */ }Implementations§
Source§impl<'a, P: RuntimeNativePort + ?Sized> NativeUseCases<'a, P>
impl<'a, P: RuntimeNativePort + ?Sized> NativeUseCases<'a, P>
pub fn new(runtime: &'a P) -> Self
pub fn collection_roots(&self) -> RedDBResult<BTreeMap<String, u64>>
pub fn health(&self) -> HealthReport
pub fn snapshots(&self) -> RedDBResult<Vec<SnapshotDescriptor>>
pub fn exports(&self) -> RedDBResult<Vec<ExportDescriptor>>
pub fn physical_metadata(&self) -> RedDBResult<PhysicalMetadataFile>
pub fn manifest_events_filtered( &self, collection: Option<&str>, kind: Option<&str>, since_snapshot: Option<u64>, ) -> RedDBResult<Vec<ManifestEvent>>
pub fn create_snapshot(&self) -> RedDBResult<SnapshotDescriptor>
pub fn create_export(&self, name: String) -> RedDBResult<ExportDescriptor>
pub fn checkpoint(&self) -> RedDBResult<()>
pub fn apply_retention_policy(&self) -> RedDBResult<()>
pub fn run_maintenance(&self) -> RedDBResult<()>
pub fn native_header(&self) -> RedDBResult<PhysicalFileHeader>
pub fn native_collection_roots(&self) -> RedDBResult<BTreeMap<String, u64>>
pub fn native_manifest_summary(&self) -> RedDBResult<NativeManifestSummary>
pub fn native_registry_summary(&self) -> RedDBResult<NativeRegistrySummary>
pub fn native_recovery_summary(&self) -> RedDBResult<NativeRecoverySummary>
pub fn native_catalog_summary(&self) -> RedDBResult<NativeCatalogSummary>
pub fn native_physical_state(&self) -> RedDBResult<NativePhysicalState>
pub fn native_vector_artifact_pages( &self, ) -> RedDBResult<Vec<NativeVectorArtifactPageSummary>>
pub fn inspect_vector_artifact( &self, input: InspectNativeArtifactInput, ) -> RedDBResult<NativeVectorArtifactInspection>
pub fn warmup_vector_artifact( &self, input: InspectNativeArtifactInput, ) -> RedDBResult<NativeVectorArtifactInspection>
pub fn inspect_vector_artifacts( &self, ) -> RedDBResult<NativeVectorArtifactBatchInspection>
pub fn warmup_vector_artifacts( &self, ) -> RedDBResult<NativeVectorArtifactBatchInspection>
pub fn native_header_repair_policy(&self) -> RedDBResult<String>
pub fn repair_native_header_from_metadata(&self) -> RedDBResult<String>
pub fn rebuild_physical_metadata_from_native_state(&self) -> RedDBResult<bool>
pub fn repair_native_physical_state_from_metadata(&self) -> RedDBResult<bool>
pub fn native_metadata_state_summary( &self, ) -> RedDBResult<NativeMetadataStateSummary>
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