vmbus_channel

Module simple

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

Traits§

Functions§

  • Offers a new channel, returning a typed handle to get back the original channel when it’s revoked.