[][src]Trait ferrite_session::AppendContext

pub trait AppendContext<R>: Context where
    R: Context
{ type Appended: Context; fn append_context(
        channels1: Self::Endpoints,
        channels2: <R as Context>::Endpoints
    ) -> <Self::Appended as Context>::Endpoints;
fn split_context(
        channels: <Self::Appended as Context>::Endpoints
    ) -> (Self::Endpoints, <R as Context>::Endpoints); }

Associated Types

Loading content...

Required methods

fn append_context(
    channels1: Self::Endpoints,
    channels2: <R as Context>::Endpoints
) -> <Self::Appended as Context>::Endpoints

fn split_context(
    channels: <Self::Appended as Context>::Endpoints
) -> (Self::Endpoints, <R as Context>::Endpoints)

Loading content...

Implementations on Foreign Types

impl<R: Context> AppendContext<R> for ()[src]

type Appended = R

impl<P, R, S> AppendContext<S> for (P, R) where
    P: Slot,
    R: Context,
    S: Context,
    R: AppendContext<S>, 
[src]

type Appended = (P, <R as AppendContext<S>>::Appended)

Loading content...

Implementors

Loading content...