Enum embedded_websocket::WebSocketSendMessageType [−][src]
pub enum WebSocketSendMessageType { Text, Binary, Ping, Pong, CloseReply, }
Websocket send message type used when sending a websocket frame
Variants
A UTF8 encoded text string
Binary data
An unsolicited ping message
A pong message in response to a ping message
A close message in response to a close message from the other party. Used to complete a
closing handshake. If initiate a close handshake use the close
function
Trait Implementations
impl Clone for WebSocketSendMessageType
[src]
impl Clone for WebSocketSendMessageType
[src]fn clone(&self) -> WebSocketSendMessageType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WebSocketSendMessageType
[src]
impl Copy for WebSocketSendMessageType
[src]Auto Trait Implementations
impl RefUnwindSafe for WebSocketSendMessageType
impl RefUnwindSafe for WebSocketSendMessageType
impl Send for WebSocketSendMessageType
impl Send for WebSocketSendMessageType
impl Sync for WebSocketSendMessageType
impl Sync for WebSocketSendMessageType
impl Unpin for WebSocketSendMessageType
impl Unpin for WebSocketSendMessageType
impl UnwindSafe for WebSocketSendMessageType
impl UnwindSafe for WebSocketSendMessageType