Type Definition libp2p::kad::protocol::KadStreamSink
source · pub type KadStreamSink<S, A, B> = AndThen<With<ErrInto<Framed<S, UviBytes<Cursor<Vec<u8, Global>>>>, Error>, Cursor<Vec<u8, Global>>, A, Ready<Result<Cursor<Vec<u8, Global>>, Error>>, fn(_: A) -> Ready<Result<Cursor<Vec<u8, Global>>, Error>>>, Ready<Result<B, Error>>, fn(_: BytesMut) -> Ready<Result<B, Error>>>;