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

pub enum HttpFrame {
    DataFrame(DataFrame),
    HeadersFrame(HeadersFrame),
    SettingsFrame(SettingsFrame),
    UnknownFrame(RawFrame),
}

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

The variants wrap the appropriate Frame implementation.

Variants

DataFrame
HeadersFrame
SettingsFrame
UnknownFrame

Methods

impl HttpFrame

fn from_raw(raw_frame: RawFrame) -> HttpResult<HttpFrame>

Trait Implementations

Derived Implementations

impl PartialEq for HttpFrame

fn eq(&self, __arg_0: &HttpFrame) -> bool

fn ne(&self, __arg_0: &HttpFrame) -> bool

impl Debug for HttpFrame

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for HttpFrame

fn clone(&self) -> HttpFrame

1.0.0fn clone_from(&mut self, source: &Self)