Struct http_types::upgrade::Receiver [−][src]
pub struct Receiver { /* fields omitted */ }
Expand description
The receiving half of a channel to send an upgraded connection.
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
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.
type Output = T
type Output = T
Should always be Self