Expand description
Traits for implementing simple vmbus devices with no subchannels.
This is a simpler abstraction than VmbusDevice
, and it is appropriate
under these conditions:
-
The VMBus device has a single channel.
-
The VMBus device needs to spawn an asynchronous task to handle a channel when the channel is opened.
Structs§
- Simple
Device Handle - A handle to an offered simple vmbus device.
- Simple
Device Wrapper - A wrapper around
SimpleVmbusDevice
that implementsVmbusDevice
.
Traits§
- Save
Restore Simple Vmbus Device - Trait implemented by simple vmbus devices that support save/restore.
- Simple
Vmbus Device - A trait implemented by a simple vmbus device with no subchannels.
Functions§
- offer_
simple_ device - Offers a new channel, returning a typed handle to get back the original channel when it’s revoked.