Function ferrite_session::prelude::send_value_to
source · [−]pub fn send_value_to<N, C1, C2, A, B, T>(
_n: N,
val: T,
cont: PartialSession<C2, A>
) -> PartialSession<C1, A> where
A: Protocol,
B: Protocol,
C1: Context,
C2: Context,
T: Send + 'static,
N: ContextLens<C1, ReceiveValue<T, B>, B, Target = C2>,