Enum kvarn::application::H2SendResponse

source ·
pub enum H2SendResponse {
    Initial(SendResponse<Bytes>),
    Pushed(SendPushedResponse<Bytes>),
}
Available on crate feature http2 only.
Expand description

Abstraction layer over different kinds of HTTP/2 response senders.

Variants§

§

Initial(SendResponse<Bytes>)

The initial response

§

Pushed(SendPushedResponse<Bytes>)

Server-pushed responses

Trait Implementations§

source§

impl Debug for H2SendResponse

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for