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§
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.