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