Skip to main content

DriverProxyInterface

Trait DriverProxyInterface 

Source
pub trait DriverProxyInterface: Send + Sync {
    type HealthCheckResponseFut: Future<Output = Result<DriverHealthCheckResult, Error>> + Send;

    // Required methods
    fn stop(&self) -> Result<(), Error>;
    fn health_check(
        &self,
        request: HealthCheckRequest,
    ) -> Self::HealthCheckResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn stop(&self) -> Result<(), Error>

Source

fn health_check( &self, request: HealthCheckRequest, ) -> Self::HealthCheckResponseFut

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§