Enum trillium_http::ConnectionStatus [−][src]
Expand description
This represents the next state after a response on a conn transport.
Variants
The transport has been closed, either by the client or by us
Conn(Conn<Transport>)
Another Conn
request has been sent on the same transport and
is ready to respond to. This can occur any number of times and
should be handled in a loop.
Upgrade(Upgrade<Transport>)
An http upgrade has been negotiated. This is always a terminal state for a given connection.
Trait Implementations
Auto Trait Implementations
impl<Transport> !RefUnwindSafe for ConnectionStatus<Transport>
impl<Transport> Send for ConnectionStatus<Transport> where
Transport: Send,
impl<Transport> Sync for ConnectionStatus<Transport> where
Transport: Sync,
impl<Transport> Unpin for ConnectionStatus<Transport> where
Transport: Unpin,
impl<Transport> !UnwindSafe for ConnectionStatus<Transport>