Type Definition libp2p::kad::protocol::KadOutStreamSink

source ·
pub type KadOutStreamSink<S> = AndThen<With<ErrInto<Framed<S, UviBytes<Cursor<Vec<u8, Global>>>>, Error>, Cursor<Vec<u8, Global>>, KadRequestMsg, Ready<Result<Cursor<Vec<u8, Global>>, Error>>, fn(_: KadRequestMsg) -> Ready<Result<Cursor<Vec<u8, Global>>, Error>>>, Ready<Result<KadResponseMsg, Error>>, fn(_: BytesMut) -> Ready<Result<KadResponseMsg, Error>>>;
Expand description

Sink of requests and stream of responses.