Struct actix_web::ws::Frame[][src]

pub struct Frame { /* fields omitted */ }

A struct representing a WebSocket frame.

Methods

impl Frame
[src]

Destruct frame

Create a new Close control frame.

Parse the input stream into a frame.

Parse the payload of a close frame.

Generate binary representation

Trait Implementations

impl Debug for Frame
[src]

Formats the value using the given formatter. Read more

impl Default for Frame
[src]

Returns the "default value" for a type. Read more

impl Display for Frame
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame