Struct h2::client::PushPromises
source · pub struct PushPromises { /* private fields */ }
Expand description
A stream of pushed responses and corresponding promised requests
Implementations§
source§impl PushPromises
impl PushPromises
sourcepub async fn push_promise(&mut self) -> Option<Result<PushPromise, Error>>
pub async fn push_promise(&mut self) -> Option<Result<PushPromise, Error>>
Get the next PushPromise
.