pub trait DirectionMeta: Sealed { }Expand description
Associates each direction marker with the metadata type it carries inside
Request<R, D>.
This trait is sealed: only Outbound and Incoming implement it.
Users cannot add new implementations.
The associated type DirectionMeta::Meta is an implementation detail and
should not be used directly. Access server-injected metadata through the
dedicated accessors on IncomingRequest instead:
Request::istag— theISTagresolved fromServiceOptionsbefore the handler was called.Request::chunk_trailers— HTTP chunk trailer headers (RFC 7230 §4.1.2).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".