Enum websocket_util::wrap::Message
source · Expand description
A message received over a Wrapper
.
Variants§
Trait Implementations§
source§impl PartialEq<Message> for Message
impl PartialEq<Message> for Message
source§impl<S> Sink<Message> for Wrapper<S>where
S: Sink<WebSocketMessage, Error = WebSocketError> + Unpin,
impl<S> Sink<Message> for Wrapper<S>where
S: Sink<WebSocketMessage, Error = WebSocketError> + Unpin,
source§fn poll_ready(
self: Pin<&mut Self>,
ctx: &mut Context<'_>
) -> Poll<Result<(), Self::Error>>
fn poll_ready(
self: Pin<&mut Self>,
ctx: &mut Context<'_>
) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink
to receive a value. Read moresource§fn start_send(self: Pin<&mut Self>, message: Message) -> Result<(), Self::Error>
fn start_send(self: Pin<&mut Self>, message: Message) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready
which returned Poll::Ready(Ok(()))
. Read more