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
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PushPromises
impl Send for PushPromises
impl Sync for PushPromises
impl Unpin for PushPromises
impl UnwindSafe for PushPromises
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