Skip to main content

RuntimeNativePortCtx

Trait RuntimeNativePortCtx 

Source
pub trait RuntimeNativePortCtx: RuntimeNativePort {
    // Provided methods
    fn create_snapshot_ctx(
        &self,
        ctx: &OperationContext,
    ) -> Result<SnapshotDescriptor, RedDBError> { ... }
    fn create_export_ctx(
        &self,
        ctx: &OperationContext,
        name: String,
    ) -> Result<ExportDescriptor, RedDBError> { ... }
    fn checkpoint_ctx(&self, ctx: &OperationContext) -> Result<(), RedDBError> { ... }
    fn apply_retention_policy_ctx(
        &self,
        ctx: &OperationContext,
    ) -> Result<(), RedDBError> { ... }
    fn run_maintenance_ctx(
        &self,
        ctx: &OperationContext,
    ) -> Result<(), RedDBError> { ... }
    fn repair_native_header_from_metadata_ctx(
        &self,
        ctx: &OperationContext,
    ) -> Result<String, RedDBError> { ... }
    fn rebuild_physical_metadata_from_native_state_ctx(
        &self,
        ctx: &OperationContext,
    ) -> Result<bool, RedDBError> { ... }
}

Provided Methods§

Implementors§