Enum kvarn::Incoming

source ·
pub enum Incoming {
    Tcp(TcpStream),
    Udp(Connection),
}
Expand description

An incoming connection, before it’s wrapped with HTTP.

Variants§

§

Tcp(TcpStream)

Used for HTTP/1 & HTTP/2

§

Udp(Connection)

Available on crate feature http3 only.

Used for HTTP/3

Trait Implementations§

source§

impl Debug for Incoming

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Incoming

§

impl !RefUnwindSafe for