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

pub enum Message {
    Text(String),
    Binary(Binary),
    Ping(String),
    Pong(String),
    Close,
    Closed,
    Error,
}

WebSocket Message

Variants

Trait Implementations

impl Debug for Message
[src]

[src]

Formats the value using the given formatter.

impl ResponseType for Message
[src]

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

The type of error that this message will resolve with if it fails in a normal fashion.