pub struct WebsocketResource(pub WebsocketConnection);Expand description
A resource which wraps an established TCP websocket connection
Tuple Fields§
§0: WebsocketConnectionTrait Implementations§
Source§impl Debug for WebsocketResource
impl Debug for WebsocketResource
Source§impl Drop for WebsocketResource
impl Drop for WebsocketResource
Source§impl Storage for WebsocketResource
impl Storage for WebsocketResource
impl Resource<WebsocketConnectionBus> for WebsocketResource
Auto Trait Implementations§
impl !Freeze for WebsocketResource
impl !RefUnwindSafe for WebsocketResource
impl Send for WebsocketResource
impl Sync for WebsocketResource
impl Unpin for WebsocketResource
impl !UnwindSafe for WebsocketResource
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