pub struct WebSocketTaskHandles {
pub response_handler: Option<JoinHandle<()>>,
pub ping_handler: Option<JoinHandle<()>>,
pub reconnection_monitor: Option<JoinHandle<()>>,
pub cleanup_task: Option<JoinHandle<()>>,
}Expand description
Standard task handles for WebSocket connections
Fields§
§response_handler: Option<JoinHandle<()>>Task for handling WebSocket responses
ping_handler: Option<JoinHandle<()>>Task for sending ping messages
reconnection_monitor: Option<JoinHandle<()>>Task for monitoring reconnections
cleanup_task: Option<JoinHandle<()>>Task for cleanup operations
Implementations§
Trait Implementations§
Source§impl Debug for WebSocketTaskHandles
impl Debug for WebSocketTaskHandles
Auto Trait Implementations§
impl Freeze for WebSocketTaskHandles
impl RefUnwindSafe for WebSocketTaskHandles
impl Send for WebSocketTaskHandles
impl Sync for WebSocketTaskHandles
impl Unpin for WebSocketTaskHandles
impl UnwindSafe for WebSocketTaskHandles
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