//! This module contains the functions for receiving
//! a payload for binary sessions.
use crate;
use Error;
use marker;
/// Receive a value of type `T`. Can fail. Returns either a
/// pair of the received value and the continuation of the
/// session `S` or an error.