1#[derive(Default, Debug)]
2pub enum Mode {
3 #[default]
4 SharedMemory,
5 Direct,
6 Gui,
7 Udp {
8 hostname: &'static str,
9 port: Option<u16>,
10 },
11 Tcp {
12 hostname: &'static str,
13 port: Option<u16>,
14 },
15 GuiServer,
16 GuiMainThread,
17 SharedMemoryServer,
18 SharedMemoryGui,
19 GraphicsClient,
20 GraphicsServer {
21 port: Option<u16>,
22 },
23 GraphicsServerTcp {
24 hostname: &'static str,
25 port: Option<u16>,
26 },
27 GraphicsServerMainThread {
28 port: Option<u16>,
29 },
30
31 #[cfg(feature = "dart")]
32 Dart,
33 #[cfg(feature = "physx")]
34 PhysX,
35 #[cfg(feature = "mujoco")]
36 MuJoCo,
37 #[cfg(feature = "grpc")]
38 Grpc {
39 hostname: &'static str,
40 port: Option<i32>,
41 },
42}