pub struct ClientConnection {
pub client_socket_uuid: String,
pub addr: String,
pub tx_sink: Arc<Mutex<SplitSink<WebSocketStream<TcpStream>, Message>>>,
}Fields§
§client_socket_uuid: String§addr: String§tx_sink: Arc<Mutex<SplitSink<WebSocketStream<TcpStream>, Message>>>Implementations§
Trait Implementations§
Source§impl Clone for ClientConnection
impl Clone for ClientConnection
Source§fn clone(&self) -> ClientConnection
fn clone(&self) -> ClientConnection
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 moreAuto Trait Implementations§
impl Freeze for ClientConnection
impl !RefUnwindSafe for ClientConnection
impl Send for ClientConnection
impl Sync for ClientConnection
impl Unpin for ClientConnection
impl !UnwindSafe for ClientConnection
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