pub struct TicketHeaders(/* private fields */);
Expand description
Receiver to wait for the headers sent by the API consumer.
You must poll the future in order to process the headers. If the future results to an error, then the API consumer dropped the sernding half of the channel. You should treat this as if the request happened.
Trait Implementations§
source§impl Debug for TicketHeaders
impl Debug for TicketHeaders
source§impl Future for TicketHeaders
impl Future for TicketHeaders
Auto Trait Implementations§
impl Freeze for TicketHeaders
impl !RefUnwindSafe for TicketHeaders
impl Send for TicketHeaders
impl Sync for TicketHeaders
impl Unpin for TicketHeaders
impl !UnwindSafe for TicketHeaders
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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