[−][src]Enum solicit::http::connection::HttpFrame
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
DataFrame(DataFrame<'a>)
HeadersFrame(HeadersFrame<'a>)
RstStreamFrame(RstStreamFrame)
SettingsFrame(SettingsFrame)
PingFrame(PingFrame)
GoawayFrame(GoawayFrame<'a>)
WindowUpdateFrame(WindowUpdateFrame)
UnknownFrame(RawFrame<'a>)
Implementations
impl<'a> HttpFrame<'a>
[src]
pub fn from_raw(raw_frame: &'a RawFrame) -> HttpResult<HttpFrame<'a>>
[src]
Trait Implementations
impl<'a> Clone for HttpFrame<'a>
[src]
impl<'a> Debug for HttpFrame<'a>
[src]
impl<'a> PartialEq<HttpFrame<'a>> for HttpFrame<'a>
[src]
impl<'a> StructuralPartialEq for HttpFrame<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for HttpFrame<'a>
impl<'a> Send for HttpFrame<'a>
impl<'a> Sync for HttpFrame<'a>
impl<'a> Unpin for HttpFrame<'a>
impl<'a> UnwindSafe for HttpFrame<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,