Struct http_types::trailers::Receiver [−][src]
pub struct Receiver { /* fields omitted */ }
Expand description
The receiving half of a channel to send trailers.
Unlike async_channel::Sender
the send
method on this type can only be
called once, and cannot be cloned. That’s because only a single instance of
Trailers
should be created.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Receiver
impl UnwindSafe for Receiver
Blanket Implementations
Mutably borrows from an owned value. Read more
A convenience for calling Future::poll()
on !
Unpin
types.
Returns the result of self
or other
future, preferring self
if both are ready. Read more
Returns the result of self
or other
future, with no preference if both are ready. Read more
Catches panics while polling the future. Read more
Boxes the future and changes its type to dyn Future + Send + 'a
. Read more
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
into_future
)Which kind of future are we turning this into?
into_future
)Creates a future from a value.
type Output = T
type Output = T
Should always be Self