Struct worker_plus::WebSocketPair
source · Expand description
Struct holding the values for a JavaScript WebSocketPair
Fields§
§client: WebSocket§server: WebSocketImplementations§
Trait Implementations§
source§impl Clone for WebSocketPair
impl Clone for WebSocketPair
source§fn clone(&self) -> WebSocketPair
fn clone(&self) -> WebSocketPair
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 Debug for WebSocketPair
impl Debug for WebSocketPair
source§impl PartialEq<WebSocketPair> for WebSocketPair
impl PartialEq<WebSocketPair> for WebSocketPair
source§fn eq(&self, other: &WebSocketPair) -> bool
fn eq(&self, other: &WebSocketPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.