pub enum State {
Expect(ExpectProxyProtocol<MioTcpStream>, ServerConnection),
Handshake(RustlsHandshake),
Http(Http<FrontRustls, Listener>),
WebSocket(Pipe<FrontRustls, Listener>),
Http2(Http2<FrontRustls>),
Invalid,
}
Variants§
Expect(ExpectProxyProtocol<MioTcpStream>, ServerConnection)
Handshake(RustlsHandshake)
Http(Http<FrontRustls, Listener>)
WebSocket(Pipe<FrontRustls, Listener>)
Http2(Http2<FrontRustls>)
Invalid
Temporary state used to extract and take ownership over the previous state. It should always be replaced by the next valid state and thus never be encountered.