Trait ferrite_session::internal::base::ContextLens
source · [−]pub trait ContextLens<C, A1, A2>: Send + 'static where
C: Context,
A1: Slot,
A2: Slot, {
type Deleted: Context;
type Target: Context;
fn extract_source(
channels: C::Endpoints
) -> (A1::Endpoint, <Self::Deleted as Context>::Endpoints);
fn insert_target(
receiver: A2::Endpoint,
channels: <Self::Deleted as Context>::Endpoints
) -> <Self::Target as Context>::Endpoints;
}