Struct http_types::upgrade::Sender [−][src]
pub struct Sender { /* fields omitted */ }
Expand description
The sending half of a channel to send an upgraded connection.
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
Connection
should be created.
Implementations
Send a Connection
.
The channel will be consumed after having sent the connection.