Struct ockam_transport_websocket::WebSocketRecvWorker [−][src]
pub struct WebSocketRecvWorker<AsyncStream> where
AsyncStream: AsyncRead + AsyncWrite + Unpin + Send + 'static, { /* fields omitted */ }
Trait Implementations
impl<AsyncStream> Worker for WebSocketRecvWorker<AsyncStream> where
AsyncStream: AsyncRead + AsyncWrite + Unpin + Send + 'static,
impl<AsyncStream> Worker for WebSocketRecvWorker<AsyncStream> where
AsyncStream: AsyncRead + AsyncWrite + Unpin + Send + 'static,
The type of Message the Worker is sent in Self::handle_message
The API and other resources available for the worker during message processing.
Override initialisation behaviour
Override shutdown behaviour
Try to open and handle a typed message
Auto Trait Implementations
impl<AsyncStream> !RefUnwindSafe for WebSocketRecvWorker<AsyncStream>
impl<AsyncStream> Send for WebSocketRecvWorker<AsyncStream>
impl<AsyncStream> Sync for WebSocketRecvWorker<AsyncStream>
impl<AsyncStream> Unpin for WebSocketRecvWorker<AsyncStream>
impl<AsyncStream> !UnwindSafe for WebSocketRecvWorker<AsyncStream>
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