Struct buttplug::server::device::hardware::communication::websocket_server::websocket_server_comm_manager::WebsocketServerDeviceCommunicationManagerBuilder
source · pub struct WebsocketServerDeviceCommunicationManagerBuilder { /* private fields */ }Implementations§
source§impl WebsocketServerDeviceCommunicationManagerBuilder
impl WebsocketServerDeviceCommunicationManagerBuilder
pub fn listen_on_all_interfaces(self, should_listen: bool) -> Self
pub fn server_port(self, port: u16) -> Self
Trait Implementations§
source§impl Clone for WebsocketServerDeviceCommunicationManagerBuilder
impl Clone for WebsocketServerDeviceCommunicationManagerBuilder
source§fn clone(&self) -> WebsocketServerDeviceCommunicationManagerBuilder
fn clone(&self) -> WebsocketServerDeviceCommunicationManagerBuilder
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 HardwareCommunicationManagerBuilder for WebsocketServerDeviceCommunicationManagerBuilder
impl HardwareCommunicationManagerBuilder for WebsocketServerDeviceCommunicationManagerBuilder
fn finish( &mut self, sender: Sender<HardwareCommunicationManagerEvent> ) -> Box<dyn HardwareCommunicationManager>
Auto Trait Implementations§
impl Freeze for WebsocketServerDeviceCommunicationManagerBuilder
impl RefUnwindSafe for WebsocketServerDeviceCommunicationManagerBuilder
impl Send for WebsocketServerDeviceCommunicationManagerBuilder
impl Sync for WebsocketServerDeviceCommunicationManagerBuilder
impl Unpin for WebsocketServerDeviceCommunicationManagerBuilder
impl UnwindSafe for WebsocketServerDeviceCommunicationManagerBuilder
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