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 HttpFramepub 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 HttpFramefn eq(&self, other: &HttpFrame) -> bool[src]
fn eq(&self, other: &HttpFrame) -> boolThis 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) -> boolThis method tests for !=.
impl Debug for HttpFrame[src]
impl Debug for HttpFramefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for HttpFrame[src]
impl Clone for HttpFrame