Module channel

Source
Expand description

Trait-based VMBus channel support.

Structs§

ChannelControl
Control object for enabling subchannels.
ChannelHandle
A handle to an offered channel.
ChannelResources
Resources used by an individual channel.
DeviceResources
Resources used by the device to communicate with the guest.
RestoreControl
A control interface for use to restore channels during the lifetime of the SaveRestoreVmbusDevice::restore method.
TooManySubchannels
Error indicating that too many subchannels were requested.

Enums§

ChannelRestoreError
An error returned by RestoreControl::restore.

Traits§

SaveRestoreVmbusDevice
Trait for vmbus devices that implement save/restore.
VmbusDevice
Trait implemented by VMBus devices.

Functions§

offer_channel
Offers a new channel, returning a typed handle to get back the original channel when it’s revoked.
offer_generic_channel
Offers a new channel with the type erased.

Type Aliases§

ChannelOpenError
An error when opening a channel.