Function 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>