[−][src]Struct solicit::http::transport::TransportReceiveFrame
The struct is a an implementation of the ReceiveFrame
trait that wraps an existing
TransportStream
and uses it to provide HTTP/2 frames, when asked for one, by reading from the
stream.
The implementation always allocates a new buffer on the heap for every incoming frame.
Implementations
impl<'a, TS> TransportReceiveFrame<'a, TS> where
TS: TransportStream,
[src]
TS: TransportStream,
pub fn new(ts: &'a mut TS) -> TransportReceiveFrame<'a, TS>
[src]
Create a new TransportReceiveFrame
that will use the given TransportStream
for reading
the frame.
Trait Implementations
impl<'a, TS> ReceiveFrame for TransportReceiveFrame<'a, TS> where
TS: TransportStream,
[src]
TS: TransportStream,
fn recv_frame(&mut self) -> HttpResult<HttpFrame>
[src]
Auto Trait Implementations
impl<'a, TS> RefUnwindSafe for TransportReceiveFrame<'a, TS> where
TS: RefUnwindSafe,
TS: RefUnwindSafe,
impl<'a, TS> Send for TransportReceiveFrame<'a, TS> where
TS: Send,
TS: Send,
impl<'a, TS> Sync for TransportReceiveFrame<'a, TS> where
TS: Sync,
TS: Sync,
impl<'a, TS> Unpin for TransportReceiveFrame<'a, TS>
impl<'a, TS> !UnwindSafe for TransportReceiveFrame<'a, TS>
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, 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>,