Struct h2::client::PushPromises [−][src]
#[must_use = "streams do nothing unless polled"]pub struct PushPromises { /* fields omitted */ }
A stream of pushed responses and corresponding promised requests
Implementations
impl PushPromises[src]
impl PushPromises[src]pub async fn push_promise(&mut self) -> Option<Result<PushPromise, Error>>[src]
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
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,