Skip to main content

DirectionMeta

Trait DirectionMeta 

Source
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:

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§