Struct h2::client::PushPromise [−][src]
pub struct PushPromise { /* fields omitted */ }
Expand description
A pushed response and corresponding request headers
Implementations
Returns a reference to the push promise’s request headers.
Returns a mutable reference to the push promise’s request headers.
Consumes self
, returning the push promise’s request headers and
response future.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PushPromise
impl Send for PushPromise
impl Sync for PushPromise
impl Unpin for PushPromise
impl !UnwindSafe for PushPromise
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more