Type Definition KadStreamSink
libp2p_kad::protocol
type KadStreamSink<S, A, B> = AndThen<With<FromErr<Framed<S, UviBytes<Vec<u8>>>, Error>, A, fn(_: A) -> Result<Vec<u8>, Error>, Result<Vec<u8>, Error>>, fn(_: BytesMut) -> Result<B, Error>, Result<B, Error>>;