[][src]Type Definition susyp2p_kad::protocol::KadInStreamSink

type KadInStreamSink<S> = AndThen<With<FromErr<Framed<S, UviBytes<Vec<u8>>>, IoError>, KadResponseMsg, fn(_: KadResponseMsg) -> Result<Vec<u8>, IoError>, Result<Vec<u8>, IoError>>, fn(_: BytesMut) -> Result<KadRequestMsg, IoError>, Result<KadRequestMsg, IoError>>;

Sink of responses and stream of requests.