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(DataFrame)
HeadersFrame(HeadersFrame)
SettingsFrame(SettingsFrame)
UnknownFrame(RawFrame)
Methods
impl HttpFrame
[src]
impl HttpFrame
pub fn from_raw(raw_frame: RawFrame) -> HttpResult<HttpFrame>
[src]
pub fn from_raw(raw_frame: RawFrame) -> HttpResult<HttpFrame>
Trait Implementations
impl PartialEq for HttpFrame
[src]
impl PartialEq for HttpFrame
fn eq(&self, other: &HttpFrame) -> bool
[src]
fn eq(&self, other: &HttpFrame) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HttpFrame) -> bool
[src]
fn ne(&self, other: &HttpFrame) -> bool
This method tests for !=
.
impl Debug for HttpFrame
[src]
impl Debug for HttpFrame
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for HttpFrame
[src]
impl Clone for HttpFrame