Skip to main content

RuntimeCompactionExtensionPort

Trait RuntimeCompactionExtensionPort 

Source
pub trait RuntimeCompactionExtensionPort: Send + Sync {
    // Required method
    fn invoke_compaction<'life0, 'async_trait>(
        &'life0 self,
        invocation: RuntimeExtensionInvocation,
    ) -> Pin<Box<dyn Future<Output = RawRuntimeExtensionResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn dispatch_compaction<'life0, 'async_trait>(
        &'life0 self,
        invocation: RuntimeExtensionInvocation,
    ) -> Pin<Box<dyn Future<Output = RuntimeExtensionResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}

Required Methods§

Source

fn invoke_compaction<'life0, 'async_trait>( &'life0 self, invocation: RuntimeExtensionInvocation, ) -> Pin<Box<dyn Future<Output = RawRuntimeExtensionResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

Source

fn dispatch_compaction<'life0, 'async_trait>( &'life0 self, invocation: RuntimeExtensionInvocation, ) -> Pin<Box<dyn Future<Output = RuntimeExtensionResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§