Enum actix_web::ws::Message [] [src]

pub enum Message {
    Text(String),
    Binary(Binary),
    Ping(String),
    Pong(String),
    Close(Option<CloseReason>),
}

WebSocket Message

Variants

Trait Implementations

impl Message for Message
[src]

The type of value that this message will resolved with if it is successful. Read more

impl Debug for Message
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Message
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl !Send for Message

impl !Sync for Message