pub trait AppendContext<R>: Contextwhere
R: Context,{
type Appended: Context;
// Required methods
fn append_context(
channels1: <Self as Context>::Endpoints,
channels2: <R as Context>::Endpoints,
) -> <Self::Appended as Context>::Endpoints;
fn split_context(
channels: <Self::Appended as Context>::Endpoints,
) -> (<Self as Context>::Endpoints, <R as Context>::Endpoints);
}Required Associated Types§
Required Methods§
fn append_context( channels1: <Self as Context>::Endpoints, channels2: <R as Context>::Endpoints, ) -> <Self::Appended as Context>::Endpoints
fn split_context( channels: <Self::Appended as Context>::Endpoints, ) -> (<Self as Context>::Endpoints, <R as Context>::Endpoints)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".