Struct ockam_transport_websocket::WorkerPair [−][src]
pub struct WorkerPair {
pub peer: SocketAddr,
pub tx_addr: Address,
pub rx_addr: Address,
// some fields omitted
}
Expand description
Transmit and receive peers of a WebSocket connection
Fields
peer: SocketAddr
tx_addr: Address
rx_addr: Address
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WorkerPair
impl Send for WorkerPair
impl Sync for WorkerPair
impl Unpin for WorkerPair
impl UnwindSafe for WorkerPair
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more