pub fn builder_from_start_info(
info: StartInfo,
mem: &mut GuestMem,
) -> Result<DeviceBuilder<NotifyEvent>, DeviceError>Expand description
Construct a DeviceBuilder from the provided StartInfo
Consumes all the handles out of the StartInfo and will initialize the provided
GuestMem using [GuestMem::provide_vmo].
from_start_info is the preferred way to construct a DeviceBuilder, this variant exists
should your device have unusual requirements on the lifetime of GuestMem.
The state of [mem] is undefined if an Error is returned.