Enum http_box::http2::FrameType [] [src]

#[repr(u8)]
pub enum FrameType { Continuation, Data, GoAway, Headers, Ping, Priority, PushPromise, RstStream, Settings, WindowUpdate, Unsupported, }

Frame types.

Variants

Continuation frame.

Data frame.

Go away frame.

Headers frame.

Ping frame.

Priority frame.

Push promise frame.

Reset stream frame.

Settings frame.

Window update frame.

Unsupported frame.

Methods

impl FrameType
[src]

Create a new FrameType from a u8.

Convert this frame type to a byte value.

Indicates that this is a FrameType::Continuation.

Indicates that this is a FrameType::Data.

Indicates that this is a FrameType::GoAway.

Indicates that this is a FrameType::Headers.

Indicates that this is a FrameType::Ping.

Indicates that this is a FrameType::Priority.

Indicates that this is a FrameType::PushPromise.

Indicates that this is a FrameType::RstStream.

Indicates that this is a FrameType::Settings.

Indicates that this is a FrameType::Unsupported.

Indicates that this is a FrameType::WindowUpdate.

Trait Implementations

impl Clone for FrameType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FrameType
[src]

impl PartialEq for FrameType
[src]

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

This method tests for !=.

impl Debug for FrameType
[src]

Formats the value using the given formatter.

impl Display for FrameType
[src]

Formats the value using the given formatter. Read more