vmbus_relay_intercept_device

Trait SimpleVmbusClientDeviceAsync

Source
pub trait SimpleVmbusClientDeviceAsync:
    SimpleVmbusClientDevice
    + 'static
    + Send
    + Sync {
    // Required method
    fn run(
        &mut self,
        stop: &mut StopTask<'_>,
        runner: &mut Self::Runner,
    ) -> impl Send + Future<Output = Result<(), Cancelled>>;
}

Required Methods§

Source

fn run( &mut self, stop: &mut StopTask<'_>, runner: &mut Self::Runner, ) -> impl Send + Future<Output = Result<(), Cancelled>>

Runs an open channel until stop is signaled.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§