Struct h2::client::PushedResponseFuture
source · pub struct PushedResponseFuture { /* private fields */ }
Expand description
A future of a pushed HTTP response.
We have to differentiate between pushed and non pushed because of the spec https://httpwg.org/specs/rfc7540.html#PUSH_PROMISE
PUSH_PROMISE frames MUST only be sent on a peer-initiated stream that is in either the “open” or “half-closed (remote)” state.
Implementations§
Trait Implementations§
source§impl Debug for PushedResponseFuture
impl Debug for PushedResponseFuture
source§impl Future for PushedResponseFuture
impl Future for PushedResponseFuture
Auto Trait Implementations§
impl Freeze for PushedResponseFuture
impl RefUnwindSafe for PushedResponseFuture
impl Send for PushedResponseFuture
impl Sync for PushedResponseFuture
impl Unpin for PushedResponseFuture
impl UnwindSafe for PushedResponseFuture
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more