#[non_exhaustive]
pub enum Mode<'a> {
Direct,
Gui,
GuiMainThread,
GuiServer,
SharedMemoryServer,
SharedMemoryGui,
GraphicsServerTcp {
hostname: &'a str,
port: Option<u16>,
},
SharedMemory,
Udp {
hostname: &'a str,
port: Option<u16>,
},
Tcp {
hostname: &'a str,
port: Option<u16>,
},
}