[][src]Type Definition libp2p_kad::protocol::KadOutStreamSink

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

Sink of requests and stream of responses.