Expand description
The words the rest of the crate keys on.
Five leaf types, each a plain Copy value with no behaviour: which side of
the proxy a frame moves over, which of the two connections a call is about,
which kind of data stream is being read, what a framed object is, and why
the framer stopped framing one. Twenty-eight use edges from fourteen
modules reach for them.
Before this module existed each lived wherever it was first needed, so those
edges ran upward: framer took a field of its own output type from
parser::data, and event took two fields of an event from framer and
transport. Nothing here imports anything from this crate, which is the
property that makes those edges disappear rather than reverse.
Every one of the five is still re-exported where it used to live, so
event::ProxySide, transport::Leg, framer::ObjectMeta,
framer::BypassReason and parser::data::DataStreamType all still resolve.
A downstream match on ProxySide with no wildcard arm keeps compiling, and
nothing outside this crate has to move.
Structs§
- Object
Meta - A framed object’s identity and framing, without its payload.
Enums§
- Bypass
Reason - Why
ObjectFramerstopped parsing a stream. - Data
Stream Type - The expected type of data stream.
- Leg
- Which of the proxy’s two connections a call is about.
- Proxy
Side - Which side of the proxy a message originates from.