pub struct EngineOptionsExternal {Show 27 fields
pub device_config_json: Option<String>,
pub user_device_config_json: Option<String>,
pub user_device_config_path: Option<String>,
pub server_name: String,
pub websocket_use_all_interfaces: bool,
pub websocket_port: Option<u16>,
pub websocket_client_address: Option<String>,
pub frontend_websocket_port: Option<u16>,
pub frontend_in_process_channel: bool,
pub max_ping_time: u32,
pub allow_raw_messages: bool,
pub use_bluetooth_le: bool,
pub use_serial_port: bool,
pub use_hid: bool,
pub use_lovense_dongle_serial: bool,
pub use_lovense_dongle_hid: bool,
pub use_xinput: bool,
pub use_lovense_connect: bool,
pub use_device_websocket_server: bool,
pub device_websocket_server_port: Option<u16>,
pub crash_main_thread: bool,
pub crash_task_thread: bool,
pub broadcast_server_mdns: bool,
pub mdns_suffix: Option<String>,
pub repeater_mode: bool,
pub repeater_local_port: Option<u16>,
pub repeater_remote_address: Option<String>,
}
Fields§
§device_config_json: Option<String>
§user_device_config_json: Option<String>
§user_device_config_path: Option<String>
§server_name: String
§websocket_use_all_interfaces: bool
§websocket_port: Option<u16>
§websocket_client_address: Option<String>
§frontend_websocket_port: Option<u16>
§frontend_in_process_channel: bool
§max_ping_time: u32
§allow_raw_messages: bool
§use_bluetooth_le: bool
§use_serial_port: bool
§use_hid: bool
§use_lovense_dongle_serial: bool
§use_lovense_dongle_hid: bool
§use_xinput: bool
§use_lovense_connect: bool
§use_device_websocket_server: bool
§device_websocket_server_port: Option<u16>
§crash_main_thread: bool
§crash_task_thread: bool
§broadcast_server_mdns: bool
§mdns_suffix: Option<String>
§repeater_mode: bool
§repeater_local_port: Option<u16>
§repeater_remote_address: Option<String>
Trait Implementations§
Source§impl Clone for EngineOptionsExternal
impl Clone for EngineOptionsExternal
Source§fn clone(&self) -> EngineOptionsExternal
fn clone(&self) -> EngineOptionsExternal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EngineOptionsExternal
impl Debug for EngineOptionsExternal
Source§impl Default for EngineOptionsExternal
impl Default for EngineOptionsExternal
Source§fn default() -> EngineOptionsExternal
fn default() -> EngineOptionsExternal
Returns the “default value” for a type. Read more
Source§impl From<EngineOptionsExternal> for EngineOptions
impl From<EngineOptionsExternal> for EngineOptions
Source§fn from(other: EngineOptionsExternal) -> Self
fn from(other: EngineOptionsExternal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EngineOptionsExternal
impl RefUnwindSafe for EngineOptionsExternal
impl Send for EngineOptionsExternal
impl Sync for EngineOptionsExternal
impl Unpin for EngineOptionsExternal
impl UnwindSafe for EngineOptionsExternal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more