pub struct WebSocketConnection { /* private fields */ }Available on crate feature
websocket only.Expand description
IPC connection implemented with WebSocket.
Trait Implementations§
Source§impl Debug for WebSocketConnection
impl Debug for WebSocketConnection
Source§impl IpcConnection for WebSocketConnection
impl IpcConnection for WebSocketConnection
Source§async fn connect(peer_addr: &str) -> Result<Self>
async fn connect(peer_addr: &str) -> Result<Self>
Connects to an IPC listener at a specific endpoint. Read more
Source§fn peer_endpoint(&self) -> &str
fn peer_endpoint(&self) -> &str
Returns the peer endpoint of the IPC connection.
Auto Trait Implementations§
impl !Freeze for WebSocketConnection
impl !RefUnwindSafe for WebSocketConnection
impl !UnwindSafe for WebSocketConnection
impl Send for WebSocketConnection
impl Sync for WebSocketConnection
impl Unpin for WebSocketConnection
impl UnsafeUnpin for WebSocketConnection
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