Function offer_channel

Source
pub async fn offer_channel<T: 'static + VmbusDevice>(
    driver: &impl Spawn,
    bus: &(impl ParentBus + ?Sized),
    channel: T,
) -> Result<ChannelHandle<T>>
Expand description

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