Skip to main content

DriverHostProxyInterface

Trait DriverHostProxyInterface 

Source
pub trait DriverHostProxyInterface: Send + Sync {
    type LoadDriverResponseFut: Future<Output = Result<DriverHostLoadDriverResult, Error>> + Send;

    // Required method
    fn load_driver(
        &self,
        payload: DriverHostLoadDriverRequest,
    ) -> Self::LoadDriverResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§