[−][src]Type Definition libp2p_kad::protocol::KadStreamSink
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>>>;