pub async fn request_device() -> Result<(Device, Queue, DeviceCapabilities), Error>Expand description
Ask the backend for a device and a queue.
ยงErrors
Fails when no adapter is available or the device cannot be created.
pub async fn request_device() -> Result<(Device, Queue, DeviceCapabilities), Error>Ask the backend for a device and a queue.
Fails when no adapter is available or the device cannot be created.