Enum httpbis::solicit::connection::HttpFrame [] [src]

pub enum HttpFrame {
    DataFrame(DataFrame),
    HeadersFrame(HeadersFrame),
    RstStreamFrame(RstStreamFrame),
    SettingsFrame(SettingsFrame),
    PingFrame(PingFrame),
    GoawayFrame(GoawayFrame),
    WindowUpdateFrame(WindowUpdateFrame),
    UnknownFrame(RawFrame),
}

An enum representing all frame variants that can be returned by an HttpConnection can handle.

The variants wrap the appropriate Frame implementation, except for the UnknownFrame variant, which provides an owned representation of the underlying RawFrame

Variants

Methods

impl HttpFrame
[src]

Get stream id, zero for special frames

Trait Implementations

impl PartialEq for HttpFrame
[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 HttpFrame
[src]

Formats the value using the given formatter.

impl Clone for HttpFrame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more