Struct intiface_engine::EngineOptions
source · pub struct EngineOptions { /* private fields */ }Implementations§
source§impl EngineOptions
impl EngineOptions
pub fn crash_reporting(&self) -> bool
pub fn websocket_use_all_interfaces(&self) -> bool
pub fn websocket_port(&self) -> Option<u16>
pub fn frontend_websocket_port(&self) -> Option<u16>
pub fn frontend_in_process_channel(&self) -> bool
pub fn max_ping_time(&self) -> u32
pub fn allow_raw_messages(&self) -> bool
pub fn use_bluetooth_le(&self) -> bool
pub fn use_serial_port(&self) -> bool
pub fn use_hid(&self) -> bool
pub fn use_lovense_dongle_serial(&self) -> bool
pub fn use_lovense_dongle_hid(&self) -> bool
pub fn use_xinput(&self) -> bool
pub fn use_lovense_connect(&self) -> bool
pub fn use_device_websocket_server(&self) -> bool
pub fn device_websocket_server_port(&self) -> Option<u16>
pub fn crash_main_thread(&self) -> bool
pub fn crash_task_thread(&self) -> bool
source§impl EngineOptions
impl EngineOptions
pub fn sentry_api_key(&self) -> &Option<String>
pub fn device_config_json(&self) -> &Option<String>
pub fn user_device_config_json(&self) -> &Option<String>
pub fn server_name(&self) -> &String
pub fn websocket_client_address(&self) -> &Option<String>
pub fn log_level(&self) -> &Option<String>
Trait Implementations§
source§impl Clone for EngineOptions
impl Clone for EngineOptions
source§fn clone(&self) -> EngineOptions
fn clone(&self) -> EngineOptions
Returns a copy 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 EngineOptions
impl Debug for EngineOptions
source§impl Default for EngineOptions
impl Default for EngineOptions
source§fn default() -> EngineOptions
fn default() -> EngineOptions
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.