#![expect(missing_docs)]
use mesh::MeshPayload;
use mesh_worker::WorkerId;
use std::net::TcpListener;
#[derive(MeshPayload)]
pub struct VncParameters<T> {
pub listener: T,
pub framebuffer: framebuffer::FramebufferAccess,
pub input_send: mesh::Sender<input_core::InputData>,
}
pub const VNC_WORKER_TCP: WorkerId<VncParameters<TcpListener>> = WorkerId::new("VncWorkerTcp");
#[cfg(any(windows, target_os = "linux"))]
pub const VNC_WORKER_VMSOCKET: WorkerId<VncParameters<vmsocket::VmListener>> =
WorkerId::new("VncWorkerVmSocket");