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]
fn from_raw(raw_frame: RawFrame) -> HttpResult<HttpFrame>
Trait Implementations
impl PartialEq for HttpFrame[src]
fn eq(&self, __arg_0: &HttpFrame) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &HttpFrame) -> bool
This method tests for !=.
impl Debug for HttpFrame[src]
impl Clone for HttpFrame[src]
fn clone(&self) -> HttpFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more