Function offer_simple_device

Source
pub async fn offer_simple_device<T: 'static + SimpleVmbusDevice>(
    driver_source: &VmTaskDriverSource,
    bus: &(impl ParentBus + ?Sized),
    device: T,
) -> Result<SimpleDeviceHandle<T>>
Expand description

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