Struct twist::server::BaseFrame [] [src]

pub struct BaseFrame { /* fields omitted */ }

Represents the parts of a base frame.

Methods

impl Frame
[src]

Get the fin flag.

Set the fin flag.

Get the rsv1 flag.

Set the rsv1 flag.

Get the rsv2 flag.

Set the rsv2 flag.

Get the rsv3 flag.

Set the rsv3 flag.

Get the masked flag.

Set the masked flag.

Get the opcode.

Set the opcode

Get the mask.

Set the mask

Get the payload_length.

Set the payload_length

Get the extension_data.

Set the extension_data.

Get the application_data

Set the application_data

Trait Implementations

impl From<FrameCodec> for Frame
[src]

Performs the conversion.

impl Debug for Frame
[src]

Formats the value using the given formatter.

impl Clone for Frame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. 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