pub struct Client<State> {
pub socket: WebSocket<TlsStream<TcpStream>>,
/* private fields */
}Expand description
The client instance for transmitting data through WebSocket connection
Fields§
§socket: WebSocket<TlsStream<TcpStream>>Implementations§
Source§impl Client<Disconnected>
impl Client<Disconnected>
Auto Trait Implementations§
impl<State> !Freeze for Client<State>
impl<State> RefUnwindSafe for Client<State>where
State: RefUnwindSafe,
impl<State> Send for Client<State>where
State: Send,
impl<State> Sync for Client<State>where
State: Sync,
impl<State> Unpin for Client<State>where
State: Unpin,
impl<State> UnwindSafe for Client<State>where
State: UnwindSafe,
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