pub struct WebSocketConnectionCtx {
pub addr: Option<String>,
}Expand description
Represents the WebSocket connection context
Fields§
§addr: Option<String>The IP address of the client
Trait Implementations§
Source§impl Clone for WebSocketConnectionCtx
impl Clone for WebSocketConnectionCtx
Source§fn clone(&self) -> WebSocketConnectionCtx
fn clone(&self) -> WebSocketConnectionCtx
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 WebSocketConnectionCtx
impl RefUnwindSafe for WebSocketConnectionCtx
impl Send for WebSocketConnectionCtx
impl Sync for WebSocketConnectionCtx
impl Unpin for WebSocketConnectionCtx
impl UnwindSafe for WebSocketConnectionCtx
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