Struct intiface_engine::EngineOptionsBuilder
source · pub struct EngineOptionsBuilder { /* private fields */ }Implementations§
source§impl EngineOptionsBuilder
impl EngineOptionsBuilder
pub fn device_config_json(&mut self, value: &str) -> &mut Self
pub fn user_device_config_json(&mut self, value: &str) -> &mut Self
pub fn server_name(&mut self, value: &str) -> &mut Self
pub fn crash_main_thread(&mut self, value: bool) -> &mut Self
pub fn crash_task_thread(&mut self, value: bool) -> &mut Self
pub fn websocket_use_all_interfaces(&mut self, value: bool) -> &mut Self
pub fn allow_raw_messages(&mut self, value: bool) -> &mut Self
pub fn use_bluetooth_le(&mut self, value: bool) -> &mut Self
pub fn use_serial_port(&mut self, value: bool) -> &mut Self
pub fn use_hid(&mut self, value: bool) -> &mut Self
pub fn use_lovense_dongle_serial(&mut self, value: bool) -> &mut Self
pub fn use_lovense_dongle_hid(&mut self, value: bool) -> &mut Self
pub fn use_xinput(&mut self, value: bool) -> &mut Self
pub fn use_lovense_connect(&mut self, value: bool) -> &mut Self
pub fn use_device_websocket_server(&mut self, value: bool) -> &mut Self
pub fn websocket_port(&mut self, port: u16) -> &mut Self
pub fn websocket_client_address(&mut self, address: &str) -> &mut Self
pub fn frontend_websocket_port(&mut self, port: u16) -> &mut Self
pub fn frontend_in_process_channel(&mut self, value: bool) -> &mut Self
pub fn device_websocket_server_port(&mut self, port: u16) -> &mut Self
pub fn max_ping_time(&mut self, value: u32) -> &mut Self
pub fn broadcast_server_mdns(&mut self, value: bool) -> &mut Self
pub fn mdns_suffix(&mut self, name: &str) -> &mut Self
pub fn use_repeater_mode(&mut self) -> &mut Self
pub fn repeater_local_port(&mut self, port: u16) -> &mut Self
pub fn repeater_remote_address(&mut self, addr: &str) -> &mut Self
pub fn finish(&mut self) -> EngineOptions
Trait Implementations§
source§impl Default for EngineOptionsBuilder
impl Default for EngineOptionsBuilder
source§fn default() -> EngineOptionsBuilder
fn default() -> EngineOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EngineOptionsBuilder
impl Send for EngineOptionsBuilder
impl Sync for EngineOptionsBuilder
impl Unpin for EngineOptionsBuilder
impl UnwindSafe for EngineOptionsBuilder
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