Skip to main content

ConformanceBackend

Trait ConformanceBackend 

Source
pub trait ConformanceBackend: Send + Sync {
    // Required methods
    fn backend_kind(&self) -> BackendKind;
    fn probe<'life0, 'async_trait>(
        &'life0 self,
        property: PropertySpec,
    ) -> Pin<Box<dyn Future<Output = PropertyOutcome> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn backend_kind(&self) -> BackendKind

Source

fn probe<'life0, 'async_trait>( &'life0 self, property: PropertySpec, ) -> Pin<Box<dyn Future<Output = PropertyOutcome> + 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§