pub struct EngineOptions { /* private fields */ }
Implementations§
Source§impl EngineOptions
impl EngineOptions
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
pub fn broadcast_server_mdns(&self) -> bool
pub fn repeater_mode(&self) -> bool
pub fn repeater_local_port(&self) -> Option<u16>
Source§impl EngineOptions
impl EngineOptions
pub fn device_config_json(&self) -> &Option<String>
pub fn user_device_config_json(&self) -> &Option<String>
pub fn user_device_config_path(&self) -> &Option<String>
pub fn server_name(&self) -> &String
pub fn websocket_client_address(&self) -> &Option<String>
pub fn mdns_suffix(&self) -> &Option<String>
pub fn repeater_remote_address(&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 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 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.
Auto Trait Implementations§
impl Freeze for EngineOptions
impl RefUnwindSafe for EngineOptions
impl Send for EngineOptions
impl Sync for EngineOptions
impl Unpin for EngineOptions
impl UnwindSafe for EngineOptions
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