Function crosvm::crosvm::sys::unix::device_helpers::create_wayland_device
source · pub fn create_wayland_device(
protection_type: ProtectionType,
jail_config: &Option<JailConfig>,
wayland_socket_paths: &BTreeMap<String, PathBuf>,
resource_bridge: Option<Tube>
) -> Result<VirtioDeviceStub>