Function ferrite_session::session::receive_value_from [−][src]
pub fn receive_value_from<N, C, T, A, B>(
_: N,
cont: impl FnOnce(T) -> PartialSession<N::Target, B> + Send + 'static
) -> PartialSession<C, B> where
A: Protocol,
B: Protocol,
C: Context,
T: Send + 'static,
N: ContextLens<C, SendValue<T, A>, A>,